me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-compiletest-rs-0.10.

* gnu/packages/crates-io.scm (rust-compiletest-rs-0.10): New variable.
(rust-compiletest-rs-0.3): Inherit from rust-compiletest-rs-0.10.
[home-page, synopsis, description, license]: Remove them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: Ibd6fc9fa1803df3a804801a10923b8b70c1f4073
master
Mathieu Othacehe 2023-12-24 21:33:41 +01:00
parent 0081426c70
commit 8838aff2b0
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 39 additions and 7 deletions

View File

@ -14949,8 +14949,46 @@ need compiler-rt intrinsics.")
(description "This package provides a triggerable compiler error for Rust.")
(license license:expat)))
(define-public rust-compiletest-rs-0.10
(package
(name "rust-compiletest-rs")
(version "0.10.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "compiletest_rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mn0v8qax92pl9kdf2csah79jyigzvndg8mil6rpn97rpkhzw9bj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-diff" ,rust-diff-0.1)
("rust-filetime" ,rust-filetime-0.2)
("rust-getopts" ,rust-getopts-0.2)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-miow" ,rust-miow-0.3)
("rust-regex" ,rust-regex-1)
("rust-rustfix" ,rust-rustfix-0.6)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-tester" ,rust-tester-0.9)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/Manishearth/compiletest-rs")
(synopsis
"Extraction of the compiletest utility from the Rust compiler")
(description
"This package provides an extraction of the compiletest utility from the
Rust compiler.")
(license (list license:asl2.0 license:expat))))
(define-public rust-compiletest-rs-0.3
(package
(inherit rust-compiletest-rs-0.10)
(name "rust-compiletest-rs")
(version "0.3.22")
(source
@ -14979,13 +15017,7 @@ need compiler-rt intrinsics.")
("rust-serde-json" ,rust-serde-json-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-tester" ,rust-tester-0.5)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/laumann/compiletest-rs")
(synopsis "Compiletest utility from the Rust compiler")
(description
"The compiletest utility from the Rust compiler as a standalone testing
harness.")
(license (list license:asl2.0 license:expat))))
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-compiletest-rs-0.2
(package