summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-02-18 12:40:36 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:57 +0200
commitc581d7352b85b53403540e161b8ca59f9bef43b4 (patch)
tree0c0d6c29ccfc9ae45434d25a08848efc9ad11d91
parent287436af87b6d1921d2a61eb2ee526eff86e26d2 (diff)
downloadguix-c581d7352b85b53403540e161b8ca59f9bef43b4.tar.gz
gnu: Add rust-ipnetwork-0.18.
* gnu/packages/crates-io.scm (rust-ipnetwork-0.18): New variable.

Change-Id: I39eb804a89ffe7cdc4ffbd60d2a1b36b59c8371f
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3961a1ff96..4f0c251389 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31115,6 +31115,24 @@ stable toolchain.")
 Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ipnetwork-0.18
+  (package
+    (inherit rust-ipnetwork-0.20)
+    (name "rust-ipnetwork")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ipnetwork" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mfkcrw8dxys6vi9bpvk2x1dyc8qi5wvrpc8jqinnm43n4wxg220"))))
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-serde-derive" ,rust-serde-derive-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-ipnetwork-0.17
   (package
     (inherit rust-ipnetwork-0.20)