diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 5c292e53e6..5b869a5de9 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1601,6 +1601,34 @@ (define-public rust-crypto-common-0.1 ;; The user can choose either license. (license (list license:expat license:asl2.0)))) +(define-public rust-crypto-hash-0.3 + (package + (name "rust-crypto-hash") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-hash" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jnxgpk0j29hzcv42viq5dckyfjnxdjsar55366j95zx80i1cxwa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-commoncrypto" ,rust-commoncrypto-0.2) + ("rust-hex" ,rust-hex-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-winapi" ,rust-winapi-0.3)))) + (inputs + (list openssl)) + (home-page "https://github.com/malept/crypto-hash") + (synopsis "Wrapper for OS-level cryptographic hash functions") + (description "This package provides a wrapper for OS-level cryptographic +hash functions.") + (license license:expat))) + (define-public rust-crypto-mac-0.11 (package (name "rust-crypto-mac") @@ -1773,34 +1801,6 @@ (define-public rust-crypto-tests-0.5 algorithms.") (license (list license:expat license:asl2.0)))) -(define-public rust-crypto-hash-0.3 - (package - (name "rust-crypto-hash") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-hash" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jnxgpk0j29hzcv42viq5dckyfjnxdjsar55366j95zx80i1cxwa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-commoncrypto" ,rust-commoncrypto-0.2) - ("rust-hex" ,rust-hex-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-winapi" ,rust-winapi-0.3)))) - (inputs - (list openssl)) - (home-page "https://github.com/malept/crypto-hash") - (synopsis "Wrapper for OS-level cryptographic hash functions") - (description "This package provides a wrapper for OS-level cryptographic -hash functions.") - (license license:expat))) - (define-public rust-csrf-0.4 (package (name "rust-csrf")