aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-01-07 15:07:27 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 14:04:42 +0100
commit30b787f7079e6047cf5045a45f0039ce98cdf565 (patch)
treead74340a66864aaa43d345660b77585913c38817 /gnu
parent6d096fee2af42ff7cc362728f3311046be0a75e9 (diff)
downloadguix-30b787f7079e6047cf5045a45f0039ce98cdf565.tar.gz
guix-30b787f7079e6047cf5045a45f0039ce98cdf565.zip
gnu: Add rust-crypto-common-0.1.
* gnu/packages/crates-io.scm (rust-crypto-common-0.1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 116bdc4c51..df5b4168aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13077,6 +13077,29 @@ Provides constant-time, no_std-friendly implementations of modern formulas
using const generics.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-crypto-common-0.1
+ (package
+ (name "rust-crypto-common")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis "Common cryptographic traits")
+ (description "Common cryptographic traits")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crypto-mac-0.11
(package
(name "rust-crypto-mac")