guix-commits
[Top][All Lists]
Advanced

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

53/188: gnu: Add rust-const-random-0.1.


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

arunisaac pushed a commit to branch master
in repository guix.

commit d87552bb3541c3ab05b2ef613e0a30bd5433d023
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 23:02:02 2020 +0530

    gnu: Add rust-const-random-0.1.
    
    * gnu/packages/crates-io.scm (rust-const-random-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 0fd9339..eae4bd4 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-0.1
+  (package
+    (name "rust-const-random")
+    (version "0.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const-random" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0sp1ang5sh27fq5b7g9fdwpq4d5s17ymj7khfzax4bbvffngj6ig"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-const-random-macro" ,rust-const-random-macro-0.1)
+        ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+    (home-page "https://github.com/tkaitchuck/constrandom";)
+    (synopsis "Compile time random number generation")
+    (description "This package provides compile time random number
+generation.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-const-random-macro-0.1
   (package
     (name "rust-const-random-macro")



reply via email to

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