GNU bug report logs - #61727
Add rust libs for IP address and DNS

Previous Next

Package: guix-patches;

Reported by: Steve George <steve <at> futurile.net>

Date: Thu, 23 Feb 2023 08:40:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steve George <steve <at> futurile.net>
To: 61727 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr.
Date: Thu, 23 Feb 2023 08:42:41 +0000
* gnu/packages/crates-io.scm (rust-aes-ctr): New variable.

---

 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a18247c65f..310cec113f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1923,6 +1923,35 @@ (define-public rust-aes-0.3
         ("rust-aesni" ,rust-aesni-0.6)
         ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
 
+(define-public rust-aes-ctr-0.6
+    (package
+      (name "rust-aes-ctr")
+      (version "0.6.0")
+      (source
+          (origin
+            (method url-fetch)
+            (uri (crate-uri "aes-ctr" version))
+            (file-name (string-append name "-" version ".tar.gz"))
+            (sha256
+              (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs
+       (("rust-aesni" ,rust-aesni-0.10)
+        ("rust-aes-soft" ,rust-aes-soft-0.6)
+        ("rust-cipher" ,rust-cipher-0.2)
+        ("rust-ctr", rust-ctr-0.6))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.2))))
+      (home-page
+        "https://github.com/RustCrypto/block-ciphers/tree/master/aes")
+      (synopsis "Pure Rust implementation of AES")
+      (description "A pure Rust implementation of the Advanced Encryption
+Standard (AES).  Use the aes crate if possible, as the aes-ctr has been
+deprecated.")
+      (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-gcm-0.8
   (package
     (name "rust-aes-gcm")
-- 
2.39.1





This bug report was last modified 2 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.