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

* gnu/packages/crates-io.scm (rust-sec1-0.7, rust-sec1-0.3): Move from
here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: Ife8fc6d759ea78a54f3d3f9c35f7415db2442565
This commit is contained in:
Efraim Flashner 2024-01-21 17:18:15 +02:00
parent 44ed673e60
commit d15a19d1a9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
2 changed files with 56 additions and 56 deletions

View File

@ -3766,6 +3766,62 @@ function.")
("rust-salsa20" ,rust-salsa20-0.9) ("rust-salsa20" ,rust-salsa20-0.9)
("rust-sha2" ,rust-sha2-0.10)))))) ("rust-sha2" ,rust-sha2-0.10))))))
(define-public rust-sec1-0.7
(package
(name "rust-sec1")
(version "0.7.2")
(source (origin
(method url-fetch)
(uri (crate-uri "sec1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0vh4pvdfnghbjglh6k74vs93jj337jpli28bbyqr0srxh67c9bph"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base16ct" ,rust-base16ct-0.2)
("rust-der" ,rust-der-0.7)
("rust-generic-array" ,rust-generic-array-0.14)
("rust-pkcs8" ,rust-pkcs8-0.10)
("rust-serdect" ,rust-serdect-0.2)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/RustCrypto/formats/tree/master/sec1")
(synopsis
"Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats")
(description
"This package procides a pure Rust implementation of SEC1: Elliptic Curve
Cryptography encoding formats including ASN.1 DER-serialized private keys as
well as the Elliptic-Curve-Point-to-Octet-String encoding.")
(license (list license:asl2.0 license:expat))))
(define-public rust-sec1-0.3
(package
(inherit rust-sec1-0.7)
(name "rust-sec1")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sec1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv"))))
(arguments
`(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
("rust-der" ,rust-der-0.6)
("rust-generic-array" ,rust-generic-array-0.14)
("rust-pkcs8" ,rust-pkcs8-0.9)
("rust-serdect" ,rust-serdect-0.1)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-sha-1-0.10 (define-public rust-sha-1-0.10
(package (package
(name "rust-sha-1") (name "rust-sha-1")

View File

@ -60604,62 +60604,6 @@ proven statistical guarantees.")
statistical guarantees.") statistical guarantees.")
(license license:expat))) (license license:expat)))
(define-public rust-sec1-0.7
(package
(name "rust-sec1")
(version "0.7.2")
(source (origin
(method url-fetch)
(uri (crate-uri "sec1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0vh4pvdfnghbjglh6k74vs93jj337jpli28bbyqr0srxh67c9bph"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base16ct" ,rust-base16ct-0.2)
("rust-der" ,rust-der-0.7)
("rust-generic-array" ,rust-generic-array-0.14)
("rust-pkcs8" ,rust-pkcs8-0.10)
("rust-serdect" ,rust-serdect-0.2)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/RustCrypto/formats/tree/master/sec1")
(synopsis
"Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats")
(description
"This package procides a pure Rust implementation of SEC1: Elliptic Curve
Cryptography encoding formats including ASN.1 DER-serialized private keys as
well as the Elliptic-Curve-Point-to-Octet-String encoding.")
(license (list license:asl2.0 license:expat))))
(define-public rust-sec1-0.3
(package
(inherit rust-sec1-0.7)
(name "rust-sec1")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sec1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv"))))
(arguments
`(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
("rust-der" ,rust-der-0.6)
("rust-generic-array" ,rust-generic-array-0.14)
("rust-pkcs8" ,rust-pkcs8-0.9)
("rust-serdect" ,rust-serdect-0.1)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-seccomp-sys-0.1 (define-public rust-seccomp-sys-0.1
(package (package
(name "rust-seccomp-sys") (name "rust-seccomp-sys")