guix-commits
[Top][All Lists]
Advanced

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

53/189: gnu: Add rust-const-random-macro-0.1.


From: guix-commits
Subject: 53/189: gnu: Add rust-const-random-macro-0.1.
Date: Mon, 21 Sep 2020 06:01:08 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 3db4f5eb828114d6aacfe817135310fbc360c57f
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 b63709b..8f119d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4122,6 +4122,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]