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

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

Change-Id: I1c86887ff606dcba630e11f792c0864f8b6e6ef8
This commit is contained in:
Efraim Flashner 2024-01-21 15:57:37 +02:00
parent bcbf703111
commit 2f5a5dd0e5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 67 additions and 67 deletions

View file

@ -2510,6 +2510,73 @@ (define-public rust-poly1305-0.7
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3))))))
(define-public rust-polyval-0.6
(package
(name "rust-polyval")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1iihmpn1h1ag5zl368yfq0jz1drfdw7xg7zpaqpcppqiikh39wky"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-cpufeatures" ,rust-cpufeatures-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3)
("rust-universal-hash" ,rust-universal-hash-0.5)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3))))
(home-page "https://github.com/RustCrypto/universal-hashes")
(synopsis "GHASH-like universal hash")
(description "POLYVAL is a GHASH-like universal hash over GF(2^128) useful
for constructing a Message Authentication Code (MAC).")
(license (list license:asl2.0 license:expat))))
(define-public rust-polyval-0.4
(package
(inherit rust-polyval-0.6)
(name "rust-polyval")
(version "0.4.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1kdpcjhc3666g8xaqichsyf6fhn8rry3z70dqhmvv6hb2jmc9g7f"))))
(arguments
`(#:cargo-inputs
(("rust-cpuid-bool" ,rust-cpuid-bool-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3)
("rust-universal-hash" ,rust-universal-hash-0.4)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-polyval-0.3
(package
(inherit rust-polyval-0.4)
(name "rust-polyval")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 "04m2wf4pk6gglvl12fj7ylc2iqhxmzqj46rds6zy73cpk0a39hvy"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-universal-hash" ,rust-universal-hash-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-ppv-lite86-0.2
(package
(name "rust-ppv-lite86")

View file

@ -49673,73 +49673,6 @@ (define-public rust-pollster-macro-0.1
(description "Proc-macro crate for pollster.")
(license (list license:asl2.0 license:expat))))
(define-public rust-polyval-0.6
(package
(name "rust-polyval")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1iihmpn1h1ag5zl368yfq0jz1drfdw7xg7zpaqpcppqiikh39wky"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-cpufeatures" ,rust-cpufeatures-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3)
("rust-universal-hash" ,rust-universal-hash-0.5)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3))))
(home-page "https://github.com/RustCrypto/universal-hashes")
(synopsis "GHASH-like universal hash")
(description "POLYVAL is a GHASH-like universal hash over GF(2^128) useful
for constructing a Message Authentication Code (MAC).")
(license (list license:asl2.0 license:expat))))
(define-public rust-polyval-0.4
(package
(inherit rust-polyval-0.6)
(name "rust-polyval")
(version "0.4.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1kdpcjhc3666g8xaqichsyf6fhn8rry3z70dqhmvv6hb2jmc9g7f"))))
(arguments
`(#:cargo-inputs
(("rust-cpuid-bool" ,rust-cpuid-bool-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3)
("rust-universal-hash" ,rust-universal-hash-0.4)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-polyval-0.3
(package
(inherit rust-polyval-0.4)
(name "rust-polyval")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "polyval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 "04m2wf4pk6gglvl12fj7ylc2iqhxmzqj46rds6zy73cpk0a39hvy"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-universal-hash" ,rust-universal-hash-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-pom-3
(package
(name "rust-pom")