diff mbox series

[bug#67515,15/91] gnu: Add rust-const-random-macro-0.1.15.

Message ID DU2P193MB21325D4358638EA0998D48E7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:11 p.m. UTC
* gnu/packages/crates-io.scm (rust-const-random-macro-0.1.15): New variable.

Change-Id: I8a4759f2b7dc8aba5a9a4a82e4a597f19e390942
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d42ff60a20..9e76aca84f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15127,8 +15127,32 @@  (define-public rust-const-random-0.1
 generation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-const-random-macro-0.1.15
+  (package
+    (name "rust-const-random-macro")
+    (version "0.1.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const-random-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nqdbkh0zwvh82ypxyzhg82sgq5nvb204pyz22r2sa52qfrnlzcx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+                       ("rust-tiny-keccak" ,rust-tiny-keccak-2))))
+    (home-page "https://github.com/tkaitchuck/constrandom")
+    (synopsis "Procedural macro used by const-random")
+    (description "This package provides the procedural macro used by
+@code{rust-const-random}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-const-random-macro-0.1
   (package
+    (inherit rust-const-random-macro-0.1.15)
     (name "rust-const-random-macro")
     (version "0.1.13")
     (source
@@ -15138,18 +15162,12 @@  (define-public rust-const-random-macro-0.1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0h7vvskw1pw5x44sbl74gsi8ydvrj5kaixpjqzxvz8h0s0knwpv1"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-getrandom" ,rust-getrandom-0.2)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
-        ("rust-tiny-keccak" ,rust-tiny-keccak-2))))
-    (home-page "https://github.com/tkaitchuck/constrandom")
-    (synopsis "Procedural macro used by const-random")
-    (description "This package provides the procedural macro used by
-@code{rust-const-random}.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-tiny-keccak" ,rust-tiny-keccak-2))))))
 
 (define-public rust-const-sha1-0.2
   (package