diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-21 15:09:53 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:57 +0200 |
commit | 062ca2f7c7fed0f00b23b7f85db17e0f167ba5f5 (patch) | |
tree | 8ae6de3f075300e2c8a06f75c3bfc5cd14108fa5 /gnu/packages | |
parent | 79b6fa0e01f0c2f990854d7f000e30f73fd0fbaa (diff) |
gnu: rust-digest: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-digest-0.10, rust-digest-0.9,
rust-digest-0.8, rust-digest-0.7, rust-digest-0.6): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.
Change-Id: I1b8ea0447a713c055eaf678fc6808a4e0e55d3b4
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 103 | ||||
-rw-r--r-- | gnu/packages/crates-io.scm | 103 | ||||
-rw-r--r-- | gnu/packages/shells.scm | 1 |
3 files changed, 104 insertions, 103 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index da9021744f..21bd01777c 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1184,3 +1184,106 @@ ristretto255 and Curve25519.") "This package provides a pure-Rust implementation of group operations on ristretto255 and Curve25519.") (license license:bsd-3))) + +(define-public rust-digest-0.10 + (package + (name "rust-digest") + (version "0.10.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14p2n6ih29x81akj097lvz7wi9b6b9hvls0lwrv7b6xwyy0s5ncy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-block-buffer" ,rust-block-buffer-0.10) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for cryptographic hash functions") + (description + "Traits for cryptographic hash functions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-digest-0.9 + (package + (inherit rust-digest-0.10) + (name "rust-digest") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14)))))) + +(define-public rust-digest-0.8 + (package + (inherit rust-digest-0.9) + (name "rust-digest") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.12)))))) + +(define-public rust-digest-0.7 + (package + (inherit rust-digest-0.9) + (name "rust-digest") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "142vdpvkqlqk9s1dcgpqb2wz76n5a39gjnk68p0zkflc58j75c03")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.9)))))) + +(define-public rust-digest-0.6 + (package + (name "rust-digest") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02mgf8z4hi96w9nl2zb5w3k6lqbhjgv5z8hhyv2b7x7kavqrpcp5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.8)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for cryptographic hash functions") + (description "This package provides traits for cryptographic hash +functions.") + (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 66802cb56e..1ddbd505aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20061,109 +20061,6 @@ common subsequence. The diff algorithms include Myer's diff and Patience diff.") (license (list license:asl2.0 license:expat)))) -(define-public rust-digest-0.10 - (package - (name "rust-digest") - (version "0.10.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14p2n6ih29x81akj097lvz7wi9b6b9hvls0lwrv7b6xwyy0s5ncy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-block-buffer" ,rust-block-buffer-0.10) - ("rust-const-oid" ,rust-const-oid-0.9) - ("rust-crypto-common" ,rust-crypto-common-0.1) - ("rust-subtle" ,rust-subtle-2)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for cryptographic hash functions") - (description - "Traits for cryptographic hash functions.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-digest-0.9 - (package - (inherit rust-digest-0.10) - (name "rust-digest") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.14)))))) - -(define-public rust-digest-0.8 - (package - (inherit rust-digest-0.9) - (name "rust-digest") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.12)))))) - -(define-public rust-digest-0.7 - (package - (inherit rust-digest-0.9) - (name "rust-digest") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "142vdpvkqlqk9s1dcgpqb2wz76n5a39gjnk68p0zkflc58j75c03")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.9)))))) - -(define-public rust-digest-0.6 - (package - (name "rust-digest") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02mgf8z4hi96w9nl2zb5w3k6lqbhjgv5z8hhyv2b7x7kavqrpcp5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.8)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for cryptographic hash functions") - (description "This package provides traits for cryptographic hash -functions.") - (license (list license:expat license:asl2.0)))) - (define-public rust-directories-5 (package (name "rust-directories") diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 770149ebe6..735e34f7a9 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -47,6 +47,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-windows) |