guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

52/188: gnu: Add rust-const-random-macro-0.1.


From: guix-commits
Subject: 52/188: gnu: Add rust-const-random-macro-0.1.
Date: Mon, 12 Oct 2020 02:24:49 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit cdbc7b019ace12e7b2ee50e47e61bb90633ca121
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 22:57:00 2020 +0530

    gnu: Add rust-const-random-macro-0.1.
    
    * gnu/packages/crates-io.scm (rust-const-random-macro-0.1): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad367ae..0fd9339 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3831,6 +3831,29 @@ the browser's console.")
 const functions with conditional compilations.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-const-random-macro-0.1
+  (package
+    (name "rust-const-random-macro")
+    (version "0.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const-random-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ykc9riajn6bijvw46092gp18vrbky3y1cjpgjgx57a5xc3cdr15"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-getrandom" ,rust-getrandom-0.1)
+        ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+    (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-constant-time-eq-0.1
   (package
     (name "rust-constant-time-eq")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]