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

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

Change-Id: Id3187669932f43dae98eb89aea4d9c1da27e2c9a
This commit is contained in:
Efraim Flashner 2024-01-21 15:42:10 +02:00
parent b5dc613fce
commit 9be388166f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 47 additions and 47 deletions

View file

@ -3255,3 +3255,50 @@ (define-public rust-sha2-asm-0.5
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj"))))))
(define-public rust-sha3-0.10
(package
(name "rust-sha3")
(version "0.10.8")
(source (origin
(method url-fetch)
(uri (crate-uri "sha3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0q5s3qlwnk8d5j34jya98j1v2p3009wdmnqdza3yydwgi8kjv1vm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-keccak" ,rust-keccak-0.1))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hex-literal" ,rust-hex-literal-0.2))))
(home-page "https://github.com/RustCrypto/hashes")
(synopsis "SHA-3 (Keccak) hash function")
(description "This package provides a pure Rust implementation of the SHA-3
(Keccak) hash function.")
(license (list license:expat license:asl2.0))))
(define-public rust-sha3-0.9
(package
(inherit rust-sha3-0.10)
(name "rust-sha3")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sha3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq"))))
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
("rust-digest" ,rust-digest-0.9)
("rust-keccak" ,rust-keccak-0.1)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hex-literal" ,rust-hex-literal-0.2))))))

View file

@ -63770,53 +63770,6 @@ (define-public rust-servo-fontconfig-sys-5
"This package provides a Rust wrapper around Fontxonfig.")
(license license:expat)))
(define-public rust-sha3-0.10
(package
(name "rust-sha3")
(version "0.10.8")
(source (origin
(method url-fetch)
(uri (crate-uri "sha3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0q5s3qlwnk8d5j34jya98j1v2p3009wdmnqdza3yydwgi8kjv1vm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-keccak" ,rust-keccak-0.1))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hex-literal" ,rust-hex-literal-0.2))))
(home-page "https://github.com/RustCrypto/hashes")
(synopsis "SHA-3 (Keccak) hash function")
(description "This package provides a pure Rust implementation of the SHA-3
(Keccak) hash function.")
(license (list license:expat license:asl2.0))))
(define-public rust-sha3-0.9
(package
(inherit rust-sha3-0.10)
(name "rust-sha3")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sha3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq"))))
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
("rust-digest" ,rust-digest-0.9)
("rust-keccak" ,rust-keccak-0.1)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-shadow-rs-0.8
(package
(name "rust-shadow-rs")