summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2023-12-24 21:33:41 +0100
committerMathieu Othacehe <othacehe@gnu.org>2023-12-28 10:11:58 +0100
commit8838aff2b021c6af17360ccc6234ff8db12ba986 (patch)
tree4c398e434fbbfc65a45990c7e2e8eb371c7d5da1 /gnu/packages
parent0081426c70bf26d037d5b7d09360fba1c9fd53b3 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm46
1 files changed, 39 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8de0b57a9d..76eed4bf46 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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