summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:10:17 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:15 +0100
commit9e3f561cd4118a90dc9e57fe707ef4100af7b2a7 (patch)
tree75c8108c43a41704fbd88fa9e3facca381acb319 /gnu/packages/crates-io.scm
parentd776b2efb7f65f881036ecdeec0ca5e3b0c9690c (diff)
gnu: Add rust-quickcheck-macros-1.
* gnu/packages/crates-io.scm (rust-quickcheck-macros-1): New variable. (quickcheck-macros-0.9): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12796823f0..ac38d1180d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30105,8 +30105,33 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
(base32
"1vb4acppaavlnchzc1jmn5wlkgir9x9gmhgp97bavyxxqxgsg1nh"))))))
+(define-public rust-quickcheck-macros-1
+ (package
+ (name "rust-quickcheck-macros")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quickcheck-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s8nh0fmmzq3fd7928qcp2syvymlyv1pmww6fxcaj5np48r6jamj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (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-quickcheck-macros-0.9
(package
+ (inherit rust-quickcheck-macros-1)
(name "rust-quickcheck-macros")
(version "0.9.1")
(source
@@ -30118,19 +30143,13 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
(sha256
(base32
"0zsb9b4jpg7qvbiym4v8y9pgqk7p1g4f5hn9gp0fnzz9v1pib330"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))
#:cargo-development-inputs
- (("rust-quickcheck" ,rust-quickcheck-0.9))))
- (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))))
+ (("rust-quickcheck" ,rust-quickcheck-0.9))))))
(define-public rust-quickcheck-macros-0.8
(package