diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-16 19:45:33 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:44 +0530 |
commit | 1739de9a1071c1e39cc5c04ccbf75e35cb7f78da (patch) | |
tree | 4ab9ea56c0a9e163f22bc26f2e9f3c4b1b6f0a0f /gnu/packages | |
parent | 5457e769639e053617ba61320be038bcbee89045 (diff) | |
download | guix-1739de9a1071c1e39cc5c04ccbf75e35cb7f78da.tar.gz |
gnu: Add rust-const-fn-0.4.
* gnu/packages/crates-io.scm (rust-const-fn-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40eb9435cc..6cd485d7a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3812,6 +3812,25 @@ that logs panics to @code{console.error}.") the browser's console.") (license (list license:expat license:asl2.0)))) +(define-public rust-const-fn-0.4 + (package + (name "rust-const-fn") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-fn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wnhzyrhfcaawnzi172k98cfawwi5zwqql7pg0nz2qlccm6dz46f")))) + (build-system cargo-build-system) + (home-page "https://github.com/taiki-e/const_fn") + (synopsis "Generate const functions with conditional compilations") + (description "This package provides an attribute for easy generation of +const functions with conditional compilations.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-constant-time-eq-0.1 (package (name "rust-constant-time-eq") |