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

* gnu/packages/crates-io.scm (rust-ecdsa-0.16, rust-ecdsa-0.14): Move
from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I337f357f2a1bb3ed6dd0aac89626ae1030d4b56d
This commit is contained in:
Efraim Flashner 2024-01-21 17:31:19 +02:00
parent 949963ad58
commit f94acde4fe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 56 additions and 56 deletions

View file

@ -1695,6 +1695,62 @@ (define-public rust-eax-0.5
same thing).")
(license (list license:asl2.0 license:expat))))
(define-public rust-ecdsa-0.16
(package
(name "rust-ecdsa")
(version "0.16.6")
(source (origin
(method url-fetch)
(uri (crate-uri "ecdsa" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1zapr75j8w1b7bdnijppb94f2jrk2qdrhv8i4fqc0c4agd9mv3m4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-der" ,rust-der-0.7)
("rust-digest" ,rust-digest-0.10)
("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
("rust-rfc6979" ,rust-rfc6979-0.4)
("rust-serdect" ,rust-serdect-0.2)
("rust-sha2" ,rust-sha2-0.10)
("rust-signature" ,rust-signature-2))
#:cargo-development-inputs
(("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-sha2" ,rust-sha2-0.10))))
(home-page "https://github.com/RustCrypto/signatures/tree/master/ecdsa")
(synopsis "Pure Rust implementation of the ECDSA algorithm")
(description
"This package provides a pure Rust implementation of the @dfn{Elliptic
Curve Digital Signature Algorithm} (ECDSA) as specified in FIPS 186-4 (Digital
Signature Standard), providing RFC6979 deterministic signatures as well as
support for added entropy.")
(license (list license:asl2.0 license:expat))))
(define-public rust-ecdsa-0.14
(package
(inherit rust-ecdsa-0.16)
(name "rust-ecdsa")
(version "0.14.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "ecdsa" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0p1wxap2s6jm06y2w3cal8dkz6p9223ir9wws70rgx8h929h2cs1"))))
(arguments
`(#:cargo-inputs (("rust-der" ,rust-der-0.6)
("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
("rust-rfc6979" ,rust-rfc6979-0.3)
("rust-serdect" ,rust-serdect-0.1)
("rust-signature" ,rust-signature-1))
#:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-sha2" ,rust-sha2-0.10))))))
(define-public rust-elliptic-curve-0.13
(package
(name "rust-elliptic-curve")

View file

@ -20829,62 +20829,6 @@ (define-public rust-ecb-0.1
(description "Electronic Codebook (ECB) block cipher mode of operation")
(license license:expat)))
(define-public rust-ecdsa-0.16
(package
(name "rust-ecdsa")
(version "0.16.6")
(source (origin
(method url-fetch)
(uri (crate-uri "ecdsa" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1zapr75j8w1b7bdnijppb94f2jrk2qdrhv8i4fqc0c4agd9mv3m4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-der" ,rust-der-0.7)
("rust-digest" ,rust-digest-0.10)
("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
("rust-rfc6979" ,rust-rfc6979-0.4)
("rust-serdect" ,rust-serdect-0.2)
("rust-sha2" ,rust-sha2-0.10)
("rust-signature" ,rust-signature-2))
#:cargo-development-inputs
(("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-sha2" ,rust-sha2-0.10))))
(home-page "https://github.com/RustCrypto/signatures/tree/master/ecdsa")
(synopsis "Pure Rust implementation of the ECDSA algorithm")
(description
"This package provides a pure Rust implementation of the @dfn{Elliptic
Curve Digital Signature Algorithm} (ECDSA) as specified in FIPS 186-4 (Digital
Signature Standard), providing RFC6979 deterministic signatures as well as
support for added entropy.")
(license (list license:asl2.0 license:expat))))
(define-public rust-ecdsa-0.14
(package
(inherit rust-ecdsa-0.16)
(name "rust-ecdsa")
(version "0.14.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "ecdsa" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0p1wxap2s6jm06y2w3cal8dkz6p9223ir9wws70rgx8h929h2cs1"))))
(arguments
`(#:cargo-inputs (("rust-der" ,rust-der-0.6)
("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
("rust-rfc6979" ,rust-rfc6979-0.3)
("rust-serdect" ,rust-serdect-0.1)
("rust-signature" ,rust-signature-1))
#:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-sha2" ,rust-sha2-0.10))))))
(define-public rust-ecies-ed25519-0.5
(package
(name "rust-ecies-ed25519")