summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-21 15:44:42 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:58 +0200
commita993516c89c444c41d4767211c434193083e8ffe (patch)
tree821c98e59c661be784ed630266744801e695f7c6
parent1013e1bca0c99a7de9b1e324d6d52250e1a7cbaf (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
-rw-r--r--gnu/packages/crates-crypto.scm58
-rw-r--r--gnu/packages/crates-io.scm58
2 files changed, 58 insertions, 58 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)))
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")