* gnu/packages/rust.scm (rust-compiletest-rs): New variable. --- gnu/packages/rust.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 9884c371d..98bbe888a 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1363,3 +1363,27 @@ does not require unstable language features.") (description "@code{idna} provides IDNA (Internationalizing Domain Names in Applications) and Punycode. It is part of the \"url\" package.") (license (list license:expat license:asl2.0)))) + +(define-public rust-compiletest-rs + (package + (name "rust-compiletest-rs") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiletest_rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "031q3lsnk4bqmzc5sk0wv1a2ppfnksrw2r3g2vn7pbb5jww49wzk")))) + (build-system cargo-build-system) + (inputs + `(("rust-log" ,rust-log "src") + ("rust-rustc-serialize" ,rust-rustc-serialize "src"))) + (home-page "https://github.com/laumann/compiletest-rs") + (synopsis "Compiletest utility as a standalone testing harness") + (description + "@code{compiletest-rs} provides the compiletest utility from the +Rust compiler as a standalone testing harness.") + (license (list license:asl2.0 license:expat)))) -- 2.11.0