aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-11-16 21:36:53 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-12-02 21:53:43 +0100
commit1b9ffd73ea939d1c395bbefb520b1d652913a691 (patch)
treed7eac4c6cac62eb268362fc6351cba75740da2b0
parente6ab1ab27d30e04e0adf3c5b1b0443b50a5687e6 (diff)
downloadguix-1b9ffd73ea939d1c395bbefb520b1d652913a691.tar
guix-1b9ffd73ea939d1c395bbefb520b1d652913a691.tar.gz
gnu: Add rust-signature-1.
* gnu/packages/crates-io.scm (rust-signature-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e3180a0435..5eed5dcb0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26039,6 +26039,33 @@ words, like Python's shlex.")
(description "Backend crate for signal-hook.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-signature-1
+ (package
+ (name "rust-signature")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "signature" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04325sgl06mksq21a95sbdadg3r3jn3l3nhhxj839qs7s6kn1w19"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-signature-derive"
+ ,rust-signature-derive-1))))
+ (home-page "")
+ (synopsis "Traits for cryptographic signature algorithms (e.g. ECDSA,
+Ed25519)")
+ (description
+ "This package contains traits which provide generic, object-safe APIs
+for generating and verifying digital signatures.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-signature-derive-1
(package
(name "rust-signature-derive")