summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-04 23:21:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:39:04 +0300
commit23bea43c71f9324aa4d98ca026915eb114023926 (patch)
treebd63be6d2e06bf977ee3eca5619a31b5526b26b4
parentc5f314dfea99c609044938d4b9ec4186cc2a9502 (diff)
downloadguix-23bea43c71f9324aa4d98ca026915eb114023926.tar.gz
gnu: Add rust-quickcheck-macros-0.9.
* gnu/packages/crates-io.scm (rust-quickcheck-macros-0.9): New variable.
(rust-quickcheck-macro-0.8): Inherit from rust-quickcheck-macros-0.9.
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26d1383aab..ea48e1e117 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19861,10 +19861,10 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
         (base32
          "1vb4acppaavlnchzc1jmn5wlkgir9x9gmhgp97bavyxxqxgsg1nh"))))))
 
-(define-public rust-quickcheck-macros-0.8
+(define-public rust-quickcheck-macros-0.9
   (package
     (name "rust-quickcheck-macros")
-    (version "0.8.0")
+    (version "0.9.1")
     (source
      (origin
        (method url-fetch)
@@ -19873,21 +19873,43 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0b3mhn0xcrdd3fkbkx3rghhivwzwil8w991ngp6gaj70l72c3pyp"))))
+         "0zsb9b4jpg7qvbiym4v8y9pgqk7p1g4f5hn9gp0fnzz9v1pib330"))))
     (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))
+       (("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.8))))
+       (("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))))
 
+(define-public rust-quickcheck-macros-0.8
+  (package
+    (inherit rust-quickcheck-macros-0.9)
+    (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"))))
+    (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))))))
+
 (define-public rust-quote-1
   (package
     (name "rust-quote")