summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-17 23:04:56 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:20 -0500
commit88be977f834a628726223594cc2261695f467a95 (patch)
tree8372a98a851b659174116667ae105142b9eaf7b8
parent557d66ba3c0c253e26d3f1039a081e630bfcef83 (diff)
gnu: Add rust-const-sha1-0.2.
* gnu/packages/crates-io.scm (rust-const-sha1-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e22722b82..5b1f16b4b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10859,6 +10859,25 @@ generation.")
@code{rust-const-random}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-const-sha1-0.2
+ (package
+ (name "rust-const-sha1")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const-sha1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "179cgi2m3wj5g80j49pggs95xalc6y1ivvbrv4m82alc3r2vcn7v"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rylev/const-sha1")
+ (synopsis "sha1 implementation for use in const contexts")
+ (description
+ "This package provides a sha1 implementation for use in const contexts.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-constant-time-eq-0.1
(package
(name "rust-constant-time-eq")