diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index e728bf479c..1d14a14251 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -3396,3 +3396,61 @@ for additional details.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1) ("rust-synstructure" ,rust-synstructure-0.12)))))) + +(define-public rust-subtle-2 + (package + (name "rust-subtle") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subtle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g2yjs7gffgmdvkkq0wrrh0pxds3q0dv6dhkw9cdpbib656xdkc1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://dalek.rs/") + (synopsis + "Pure-Rust traits and utilities for cryptographic implementations") + (description + "This package provides Pure-Rust traits and utilities for constant-time +cryptographic implementations.") + (license license:bsd-3))) + +(define-public rust-subtle-1 + (package + (inherit rust-subtle-2) + (name "rust-subtle") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subtle" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd")))))) + +(define-public rust-subtle-ng-2 + (package + (name "rust-subtle-ng") + (version "2.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "subtle-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hj1wp8xl64bjhbvlfffmllqy7wdw2b505f32gn3qqic4vmpcikk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))) + (home-page "https://dalek.rs/") + (synopsis "Pure-Rust for constant-time cryptographic implementations") + (description + "This package provides pure-Rust traits and utilities for constant-time +cryptographic implementations.") + (license license:bsd-3))) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b73dcbed5e..b196f720fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68575,64 +68575,6 @@ suites, typically generated by @code{subplot codegen}.") inspired by Python's subprocess module, with Rust-specific extensions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-subtle-2 - (package - (name "rust-subtle") - (version "2.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "subtle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1g2yjs7gffgmdvkkq0wrrh0pxds3q0dv6dhkw9cdpbib656xdkc1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) - (home-page "https://dalek.rs/") - (synopsis - "Pure-Rust traits and utilities for cryptographic implementations") - (description - "This package provides Pure-Rust traits and utilities for constant-time -cryptographic implementations.") - (license license:bsd-3))) - -(define-public rust-subtle-1 - (package - (inherit rust-subtle-2) - (name "rust-subtle") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "subtle" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd")))))) - -(define-public rust-subtle-ng-2 - (package - (name "rust-subtle-ng") - (version "2.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "subtle-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hj1wp8xl64bjhbvlfffmllqy7wdw2b505f32gn3qqic4vmpcikk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://dalek.rs/") - (synopsis "Pure-Rust for constant-time cryptographic implementations") - (description - "This package provides pure-Rust traits and utilities for constant-time -cryptographic implementations.") - (license license:bsd-3))) - (define-public rust-surf-2 (package (name "rust-surf")