From 28547158f34cb8f32ae2f47c1d53289b10663955 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 19:10:05 -0800 Subject: [PATCH] gnu: Add rust-rustc-test-0.3. * gnu/package/crates-io.scm (rust-rustc-test-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91177d2d1d..e42c426fce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5389,6 +5389,37 @@ (define-public rust-rustc-std-workspace-core-1.0 (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-test-0.3 + (package + (name "rust-rustc-test") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a27mlcg0ck0hgsdvwk792x9z1k1qq1wj091f1l5yggbdbcsnx5w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-getopts" ,rust-getopts-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-term" ,rust-term-0.5) + ("rust-time" ,rust-time-0.1)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page "https://github.com/servo/rustc-test") + (synopsis "Fork of Rust's test crate") + (description + "This package provides a fork of Rust's test crate that doesn't +require unstable language features.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-version-0.2 (package (name "rust-rustc-version")