summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 19:58:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:11 +0200
commit69ecc4495be9276322950692a325d04f16fe0f72 (patch)
tree021d4cec8a321d3e097a81f8e55fcd24b29b7abd
parent4bc4189c5d723a52b2771ba5579c1f043557019f (diff)
downloadguix-69ecc4495be9276322950692a325d04f16fe0f72.tar.gz
gnu: Add rust-quickcheck-macros-0.8.
* gnu/packages/crates-io.scm (rust-quickcheck-macros-0.8):
New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eca5d070d1..71aabaa466 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10622,6 +10622,33 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
         ("rust-rand" ,rust-rand-0.3))
        #:skip-build? #t))))  ; Package needs 'unicode' crate.
 
+(define-public rust-quickcheck-macros-0.8
+  (package
+    (name "rust-quickcheck-macros")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quickcheck_macros" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0b3mhn0xcrdd3fkbkx3rghhivwzwil8w991ngp6gaj70l72c3pyp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-syn" ,rust-syn-0.15))
+       #:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.8))))
+    (home-page "https://github.com/BurntSushi/quickcheck")
+    (synopsis "Macro attribute for quickcheck")
+    (description
+     "This package provides a macro attribute for quickcheck.")
+    (license (list license:unlicense license:expat))))
+
 (define-public rust-quote-1.0
   (package
     (name "rust-quote")