gnu: rust-signature: Move to (gnu packages crates-crypto).

* gnu/packages/crates-io.scm (rust-signature-2, rust-signature-1,
rust-signature-derive-2, rust-signature-derive-1): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: Ib6e273c2d2e0221226417d6b761c8369f18ee571
This commit is contained in:
Efraim Flashner 2024-01-21 15:43:32 +02:00
parent 9be388166f
commit 1013e1bca0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 94 additions and 94 deletions

View file

@ -3302,3 +3302,97 @@ (define-public rust-sha3-0.9
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hex-literal" ,rust-hex-literal-0.2))))))
(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.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0z3xg405pg827g6hfdprnszsdqkkbrsfx7f1dl04nv9g7cxks8vl"))))
(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))))))
(define-public rust-signature-derive-2
(package
(name "rust-signature-derive")
(version "2.0.1")
(source (origin
(method url-fetch)
(uri (crate-uri "signature_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1z0mjjg3fpj08kc3nkax4lczgp7sfzbcm8q2qgim865510wkgpxc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page
"https://github.com/RustCrypto/traits/tree/master/signature/derive")
(synopsis "Custom derive support for the 'signature' crate")
(description "This package provides proc macros used by the signature
crate.
It's not intended to be used directly. See the signature crate's documentation
for additional details.")
(license (list license:asl2.0 license:expat))))
(define-public rust-signature-derive-1
(package
(inherit rust-signature-derive-2)
(name "rust-signature-derive")
(version "1.0.0-pre.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03wj342zvljknqwg3qbc9acrcsrzhdp1d2d6pfrh4p1b087k3rln"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))))

View file

@ -64141,100 +64141,6 @@ (define-public rust-signal-hook-registry-1
(description "This package is a backend crate for @code{signal-hook}.")
(license (list license:asl2.0 license:expat))))
(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.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0z3xg405pg827g6hfdprnszsdqkkbrsfx7f1dl04nv9g7cxks8vl"))))
(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))))))
(define-public rust-signature-derive-2
(package
(name "rust-signature-derive")
(version "2.0.1")
(source (origin
(method url-fetch)
(uri (crate-uri "signature_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1z0mjjg3fpj08kc3nkax4lczgp7sfzbcm8q2qgim865510wkgpxc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page
"https://github.com/RustCrypto/traits/tree/master/signature/derive")
(synopsis "Custom derive support for the 'signature' crate")
(description "This package provides proc macros used by the signature
crate.
It's not intended to be used directly. See the signature crate's documentation
for additional details.")
(license (list license:asl2.0 license:expat))))
(define-public rust-signature-derive-1
(package
(inherit rust-signature-derive-2)
(name "rust-signature-derive")
(version "1.0.0-pre.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03wj342zvljknqwg3qbc9acrcsrzhdp1d2d6pfrh4p1b087k3rln"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-simba-0.8
(package
(name "rust-simba")