summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-16 17:18:33 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-12 21:23:46 +0200
commit06d197ea9d8f0e580a0678c12186fbbde8bd0766 (patch)
tree1760d26fa5db1bce518eb9abc7d997851745b1c7 /gnu/packages/crates-io.scm
parentd4a6fb3b42118381edeed5dee699623db6197918 (diff)
downloadguix-06d197ea9d8f0e580a0678c12186fbbde8bd0766.tar.gz
gnu: Add rust-compiletest-rs-0.2.
* gnu/packages/crates-io.scm (rust-compiletest-rs-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7667eed9a..2e8a37584f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1880,6 +1880,27 @@ need compiler-rt intrinsics.")
 harness.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-compiletest-rs-0.2
+  (package
+    (inherit rust-compiletest-rs-0.3)
+    (name "rust-compiletest-rs")
+    (version "0.2.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "compiletest_rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0njz4shbhl1pvb6ngpi1wpz2gr5lf2dcha22lpdk995pzrwd6h97"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.3)
+        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+        ("rust-tempdir" ,rust-tempdir-0.3))))))
+
 (define-public rust-console-0.7
   (package
     (name "rust-console")