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

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

Change-Id: Ifb07e8de73601a8ddda49565e18b2a79a4659d24
This commit is contained in:
Efraim Flashner 2024-01-21 15:24:21 +02:00
parent 1455678feb
commit a83965f077
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 173 additions and 173 deletions

View file

@ -1740,3 +1740,176 @@ (define-public rust-orion-0.17
"Orion is a cryptography library written in pure Rust. It aims to provide
easy and usable crypto while trying to minimize the use of unsafe code.")
(license license:expat)))
(define-public rust-pbkdf2-0.12
(package
(name "rust-pbkdf2")
(version "0.12.2")
(source (origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1wms79jh4flpy1zi8xdp4h8ccxv4d85adc6zjagknvppc5vnmvgq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.5)
("rust-rayon" ,rust-rayon-1)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page
"https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2")
(synopsis "Generic implementation of PBKDF2")
(description "This package contains a collection of password hashing
algorithms, otherwise known as password-based key derivation functions, written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-pbkdf2-0.11
(package
(inherit rust-pbkdf2-0.12)
(name "rust-pbkdf2")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.4)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page "https://github.com/RustCrypto/password-hashing")))
(define-public rust-pbkdf2-0.10
(package
(inherit rust-pbkdf2-0.11)
(name "rust-pbkdf2")
(version "0.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1myz799hi58qxdxc9cch3q2sl0vs68vmgrd3j7dmc6aqbgrpj5r7"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))))
(define-public rust-pbkdf2-0.9
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h"))))
(arguments
`(#:cargo-inputs
(("rust-crypto-mac" ,rust-crypto-mac-0.11)
("rust-hmac" ,rust-hmac-0.11)
("rust-password-hash" ,rust-password-hash-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.11)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9)
("rust-streebog" ,rust-streebog-0.9))))))
(define-public rust-pbkdf2-0.8
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.8.0")
(source (origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr"))))
(arguments
(list #:cargo-inputs
`(("rust-crypto-mac" ,rust-crypto-mac-0.11)
("rust-base64ct" ,rust-base64ct-1)
("rust-hmac" ,rust-hmac-0.11)
("rust-password-hash" ,rust-password-hash-0.2)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))
#:cargo-development-inputs
`(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.11)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pbkdf2-0.6
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k"))))
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.13)
("rust-crypto-mac" ,rust-crypto-mac-0.10)
("rust-hmac" ,rust-hmac-0.10)
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-rayon" ,rust-rayon-1)
("rust-sha2" ,rust-sha2-0.9)
("rust-subtle" ,rust-subtle-2))
#:cargo-development-inputs
(("rust-hmac" ,rust-hmac-0.10)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))

View file

@ -47535,179 +47535,6 @@ (define-public rust-pathdiff-0.2
path.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pbkdf2-0.12
(package
(name "rust-pbkdf2")
(version "0.12.2")
(source (origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1wms79jh4flpy1zi8xdp4h8ccxv4d85adc6zjagknvppc5vnmvgq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.5)
("rust-rayon" ,rust-rayon-1)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page
"https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2")
(synopsis "Generic implementation of PBKDF2")
(description "This package contains a collection of password hashing
algorithms, otherwise known as password-based key derivation functions, written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-pbkdf2-0.11
(package
(inherit rust-pbkdf2-0.12)
(name "rust-pbkdf2")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.4)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page "https://github.com/RustCrypto/password-hashing")))
(define-public rust-pbkdf2-0.10
(package
(inherit rust-pbkdf2-0.11)
(name "rust-pbkdf2")
(version "0.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1myz799hi58qxdxc9cch3q2sl0vs68vmgrd3j7dmc6aqbgrpj5r7"))))
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))))
(define-public rust-pbkdf2-0.9
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h"))))
(arguments
`(#:cargo-inputs
(("rust-crypto-mac" ,rust-crypto-mac-0.11)
("rust-hmac" ,rust-hmac-0.11)
("rust-password-hash" ,rust-password-hash-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.11)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9)
("rust-streebog" ,rust-streebog-0.9))))))
(define-public rust-pbkdf2-0.8
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.8.0")
(source (origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr"))))
(arguments
(list #:cargo-inputs
`(("rust-crypto-mac" ,rust-crypto-mac-0.11)
("rust-base64ct" ,rust-base64ct-1)
("rust-hmac" ,rust-hmac-0.11)
("rust-password-hash" ,rust-password-hash-0.2)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))
#:cargo-development-inputs
`(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.11)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pbkdf2-0.6
(package
(inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k"))))
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.13)
("rust-crypto-mac" ,rust-crypto-mac-0.10)
("rust-hmac" ,rust-hmac-0.10)
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-rayon" ,rust-rayon-1)
("rust-sha2" ,rust-sha2-0.9)
("rust-subtle" ,rust-subtle-2))
#:cargo-development-inputs
(("rust-hmac" ,rust-hmac-0.10)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pcap-0.7
(package
(name "rust-pcap")