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

* gnu/packages/crates-io.scm (rust-hkdf-0.12, rust-hkdf-0.11,
rust-hkdf-0.10, rust-hkdf-0.9, rust-hkdf-0.8): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: Id6090909f8cedf5659810409a13b4809b941ad47
This commit is contained in:
Efraim Flashner 2024-01-21 15:15:57 +02:00
parent c09edce36e
commit 973bdcd5a4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 116 additions and 116 deletions

View file

@ -1366,3 +1366,119 @@ (define-public rust-elliptic-curve-0.12
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-sha2" ,rust-sha2-0.10)
("rust-sha3" ,rust-sha3-0.10))))))
(define-public rust-hkdf-0.12
(package
(name "rust-hkdf")
(version "0.12.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xxxzcarz151p1b858yn5skmhyrvn8fs4ivx5km3i1kjmnr8wpvv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-hmac" ,rust-hmac-0.12))
#:cargo-development-inputs
(("rust-blobby" ,rust-blobby-0.3)
("rust-hex-literal" ,rust-hex-literal-0.2)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10))))
(home-page "https://github.com/RustCrypto/KDFs/")
(synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
(description "This package provides a HMAC-based Extract-and-Expand Key
Derivation Function (HKDF).")
(license (list license:expat license:asl2.0))))
(define-public rust-hkdf-0.11
(package
(inherit rust-hkdf-0.12)
(name "rust-hkdf")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.11))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-blobby" ,rust-blobby-0.3)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.10
(package
(inherit rust-hkdf-0.11)
(name "rust-hkdf")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.10))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.9
(package
(inherit rust-hkdf-0.11)
(name "rust-hkdf")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.8))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.8
(package
(inherit rust-hkdf-0.9)
(name "rust-hkdf")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-digest" ,rust-digest-0.8)
("rust-hmac" ,rust-hmac-0.7))))))

View file

@ -29972,122 +29972,6 @@ (define-public rust-hexf-parse-0.2
provided for each type.")
(license license:cc0)))
(define-public rust-hkdf-0.12
(package
(name "rust-hkdf")
(version "0.12.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xxxzcarz151p1b858yn5skmhyrvn8fs4ivx5km3i1kjmnr8wpvv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-hmac" ,rust-hmac-0.12))
#:cargo-development-inputs
(("rust-blobby" ,rust-blobby-0.3)
("rust-hex-literal" ,rust-hex-literal-0.2)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10))))
(home-page "https://github.com/RustCrypto/KDFs/")
(synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
(description "This package provides a HMAC-based Extract-and-Expand Key
Derivation Function (HKDF).")
(license (list license:expat license:asl2.0))))
(define-public rust-hkdf-0.11
(package
(inherit rust-hkdf-0.12)
(name "rust-hkdf")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.11))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-blobby" ,rust-blobby-0.3)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.10
(package
(inherit rust-hkdf-0.11)
(name "rust-hkdf")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.10))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.9
(package
(inherit rust-hkdf-0.11)
(name "rust-hkdf")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hmac" ,rust-hmac-0.8))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-hkdf-0.8
(package
(inherit rust-hkdf-0.9)
(name "rust-hkdf")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-digest" ,rust-digest-0.8)
("rust-hmac" ,rust-hmac-0.7))))))
(define-public rust-hmac-0.12
(package
(name "rust-hmac")