diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-16 23:02:02 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:45 +0530 |
commit | d87552bb3541c3ab05b2ef613e0a30bd5433d023 (patch) | |
tree | b47bbac4b9cca70a3aeb6fe00967d35e2e21be50 | |
parent | cdbc7b019ace12e7b2ee50e47e61bb90633ca121 (diff) | |
download | guix-d87552bb3541c3ab05b2ef613e0a30bd5433d023.tar.gz |
gnu: Add rust-const-random-0.1.
* gnu/packages/crates-io.scm (rust-const-random-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0fd9339366..eae4bd42bd 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") |