summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-13 22:47:53 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:11 +0200
commit432e9b00da453f31992fd3642da14324a1f5e169 (patch)
treeb0994c59e9d9999ed711803144e1285e943618d6
parent55e6486224de711a158ea3818f9f76e0839726f3 (diff)
downloadguix-432e9b00da453f31992fd3642da14324a1f5e169.tar.gz
gnu: Add rust-quickcheck-0.8.
* gnu/packages/crates-io.scm (rust-quickcheck-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44bdc96beb..6aa5e4be22 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2850,6 +2850,37 @@ to write.")
     (license (list license:asl2.0
                    license:expat))))
 
+;; Many circular dependencies.
+;; Dev dependencies are allowed to have them in crates.io.
+(define-public rust-quickcheck-0.8
+  (package
+    (name "rust-quickcheck")
+    (version "0.8.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quickcheck" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-env-logger" ,rust-env-logger-0.6)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-rand" ,rust-rand-0.4)
+        ("rust-rand-core" ,rust-rand-core-0.5))))
+    (home-page
+     "https://github.com/BurntSushi/quickcheck")
+    (synopsis
+     "Automatic property based testing with shrinking")
+    (description
+     "Automatic property based testing with shrinking.")
+    (license (list license:expat license:unlicense))))
+
 (define-public rust-quote-1.0
   (package
     (name "rust-quote")