[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/379: gnu: Add rust-signature-2.
From: |
guix-commits |
Subject: |
42/379: gnu: Add rust-signature-2. |
Date: |
Mon, 10 Jul 2023 05:27:52 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 781eb56c918be0abbdbbc08df1851ea1ecaafc82
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:16:03 2023 +0300
gnu: Add rust-signature-2.
* gnu/packages/crates-io.scm (rust-signature-2): New variable.
(rust-signature-1): Inherit from rust-signature-2.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++---------
1 file changed, 30 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index abba49da0e..541933a2cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57625,8 +57625,37 @@ words, like Python's shlex.")
(("rust-signal-hook" ,rust-signal-hook-0.1)
("rust-version-sync" ,rust-version-sync-0.8))))))
+(define-public rust-signature-2
+ (package
+ (name "rust-signature")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "signature" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "00457czdia5gvll3a1vzf2ffsdpgcz2dz0h56z7zk28nsbp8h5sy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-signature-derive" ,rust-signature-derive-2))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-sha2" ,rust-sha2-0.10))))
+ (home-page "https://github.com/RustCrypto/traits/tree/master/signature")
+ (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-1
(package
+ (inherit rust-signature-2)
(name "rust-signature")
(version "1.5.0")
(source
@@ -57636,20 +57665,12 @@ words, like Python's shlex.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1r4x94n6ibdd1f85cwmvi29jvyyf1l379n9yybb7jlg9lv0wcm7h"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-rand-core" ,rust-rand-core-0.6)
- ("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))))
+ ("rust-signature-derive" ,rust-signature-derive-1))))))
(define-public rust-signature-derive-2
(package
- 26/379: gnu: Add rust-pbkdf2-0.12., (continued)
- 26/379: gnu: Add rust-pbkdf2-0.12., guix-commits, 2023/07/10
- 27/379: gnu: Add rust-pem-rfc7468-0.7., guix-commits, 2023/07/10
- 31/379: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/10
- 32/379: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/10
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/07/10
- 24/379: gnu: Add rust-memoffset-0.8., guix-commits, 2023/07/10
- 28/379: gnu: Add rust-phf-0.11., guix-commits, 2023/07/10
- 30/379: gnu: Add rust-phf-generator-0.11., guix-commits, 2023/07/10
- 29/379: gnu: Add rust-phf-codegen-0.11., guix-commits, 2023/07/10
- 37/379: gnu: Add rust-rustix-0.37., guix-commits, 2023/07/10
- 42/379: gnu: Add rust-signature-2.,
guix-commits <=
- 45/379: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/10
- 36/379: gnu: Add rust-raw-cpuid-10., guix-commits, 2023/07/10
- 39/379: gnu: Add rust-scrypt-0.11., guix-commits, 2023/07/10
- 33/379: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/10
- 34/379: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/10
- 35/379: gnu: rust-proptest-1: Update to 1.1.0., guix-commits, 2023/07/10
- 41/379: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/10
- 46/379: gnu: Add rust-windows-aarch64-msvc-0.48., guix-commits, 2023/07/10
- 52/379: gnu: Add rust-windows-x86-64-gnu-0.48., guix-commits, 2023/07/10
- 53/379: gnu: Add rust-windows-x86-64-gnullvm-0.48., guix-commits, 2023/07/10