diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-21 15:44:42 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:58 +0200 |
commit | a993516c89c444c41d4767211c434193083e8ffe (patch) | |
tree | 821c98e59c661be784ed630266744801e695f7c6 /gnu/packages/crates-crypto.scm | |
parent | 1013e1bca0c99a7de9b1e324d6d52250e1a7cbaf (diff) |
gnu: rust-subtle: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-subtle-2, rust-subtle-1,
rust-subtle-ng-2): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.
Change-Id: I894775cbe88a2b24e0d10c4a6c603964be9505ce
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 58 |
1 files changed, 58 insertions, 0 deletions
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))) |