From 1b9ffd73ea939d1c395bbefb520b1d652913a691 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 16 Nov 2020 21:36:53 +0100 Subject: gnu: Add rust-signature-1. * gnu/packages/crates-io.scm (rust-signature-1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3