gnu: Add rust-signature-1.
* gnu/packages/crates-io.scm (rust-signature-1): New variable.
This commit is contained in:
parent
e6ab1ab27d
commit
1b9ffd73ea
1 changed files with 27 additions and 0 deletions
|
@ -26039,6 +26039,33 @@ words, like Python's shlex.")
|
||||||
(description "Backend crate for signal-hook.")
|
(description "Backend crate for signal-hook.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(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
|
(define-public rust-signature-derive-1
|
||||||
(package
|
(package
|
||||||
(name "rust-signature-derive")
|
(name "rust-signature-derive")
|
||||||
|
|
Reference in a new issue