summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-21 15:48:26 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:59 +0200
commite2a7867ad5de8dd84a554783006a997c4ba0fdf6 (patch)
tree1350897f01a13c01fcf0c96695ea0375a95bc0a6 /gnu
parentd77dad8e1d5c74c9a3625d495362ab5a0dcbb202 (diff)
gnu: rust-aead: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-aead-0.5, rust-aead-0.4, rust-aead-0.3, rust-aead-0.2): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: If5a4b1f04a20e15ae03238d8d5d46e3a9b3dcc4b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-crypto.scm90
-rw-r--r--gnu/packages/crates-io.scm90
2 files changed, 90 insertions, 90 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index e1dc086619..56ae4c58df 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -61,6 +61,96 @@
;;; Please: Try to add new module packages in alphabetic order.
;;;
+(define-public rust-aead-0.5
+ (package
+ (name "rust-aead")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aead" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j6pmc8pk4ha64bj9l6xzbhd85s2y1dblna2zsq83h0zy6w2w6aw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-crypto-common" ,rust-crypto-common-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-heapless" ,rust-heapless-0.7))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis
+ "Traits for Authenticated Encryption with Associated Data (AEAD) algorithms")
+ (description
+ "This package provides traits for Authenticated Encryption with Associated
+Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a
+high-level API.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-aead-0.4
+ (package
+ (inherit rust-aead-0.5)
+ (name "rust-aead")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aead" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-heapless" ,rust-heapless-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.6))))))
+
+(define-public rust-aead-0.3
+ (package
+ (name "rust-aead")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aead" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c8388alvivcj4qkxgh4s4l6fbczn3p8wc0pnar6crlfvcdmvjbz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-heapless" ,rust-heapless-0.5))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis "Traits for Authenticated Encryption with Associated Data (AEAD)
+algorithms")
+ (description "This package provides traits for Authenticated Encryption
+with Associated Data (AEAD) algorithms.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-aead-0.2
+ (package
+ (inherit rust-aead-0.3)
+ (name "rust-aead")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aead" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.12)
+ ("rust-heapless" ,rust-heapless-0.5))))))
+
(define-public rust-aes-0.8
(package
(name "rust-aes")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc229dc853..bbaf33e293 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -644,96 +644,6 @@ the Rust programming language.")
(license (list license:bsd-3
license:zlib))))
-(define-public rust-aead-0.5
- (package
- (name "rust-aead")
- (version "0.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aead" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1j6pmc8pk4ha64bj9l6xzbhd85s2y1dblna2zsq83h0zy6w2w6aw"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.3)
- ("rust-bytes" ,rust-bytes-1)
- ("rust-crypto-common" ,rust-crypto-common-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-heapless" ,rust-heapless-0.7))))
- (home-page "https://github.com/RustCrypto/traits")
- (synopsis
- "Traits for Authenticated Encryption with Associated Data (AEAD) algorithms")
- (description
- "This package provides traits for Authenticated Encryption with Associated
-Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a
-high-level API.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-aead-0.4
- (package
- (inherit rust-aead-0.5)
- (name "rust-aead")
- (version "0.4.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aead" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b"))))
- (arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.3)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-heapless" ,rust-heapless-0.7)
- ("rust-rand-core" ,rust-rand-core-0.6))))))
-
-(define-public rust-aead-0.3
- (package
- (name "rust-aead")
- (version "0.3.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aead" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0c8388alvivcj4qkxgh4s4l6fbczn3p8wc0pnar6crlfvcdmvjbz"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.3)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-heapless" ,rust-heapless-0.5))))
- (home-page "https://github.com/RustCrypto/traits")
- (synopsis "Traits for Authenticated Encryption with Associated Data (AEAD)
-algorithms")
- (description "This package provides traits for Authenticated Encryption
-with Associated Data (AEAD) algorithms.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-aead-0.2
- (package
- (inherit rust-aead-0.3)
- (name "rust-aead")
- (version "0.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aead" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c"))))
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-generic-array" ,rust-generic-array-0.12)
- ("rust-heapless" ,rust-heapless-0.5))))))
-
(define-public rust-afl-0.12
(package
(name "rust-afl")