summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-20 21:40:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:57 +0200
commitefbfc7e86c024abc044aa936560ad9d7d7610167 (patch)
treec76789c35b70bd0f2b1ec42504b8960449c0650a
parentd304015f22aa83ce7c414b5c88b04156f3e176c5 (diff)
downloadguix-efbfc7e86c024abc044aa936560ad9d7d7610167.tar.gz
gnu: Add rust-quickcheck-0.7.
* gnu/packages/crates-io.scm (rust-quickcheck-0.7): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 152bff7d40..284931aa5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8012,6 +8012,28 @@ to write.")
      "Automatic property based testing with shrinking.")
     (license (list license:expat license:unlicense))))
 
+(define-public rust-quickcheck-0.7
+  (package
+    (inherit rust-quickcheck-0.8)
+    (name "rust-quickcheck")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "quickcheck" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-env-logger" ,rust-env-logger-0.5)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-rand" ,rust-rand-0.5)
+        ("rust-rand-core" ,rust-rand-core-0.2))))))
+
 (define-public rust-quote-1.0
   (package
     (name "rust-quote")