Subject: [PATCH rust-team v2 46/81] gnu: rust-cidr-0.2: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:33:52 -0500

* gnu/packages/crates-io.scm (rust-cidr-0.2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 909e6fd93d..41574ebff1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12624,6 +12624,29 @@ (define-public rust-cidr-0.3
      "IP network and IP host within network types.")
     (license license:expat)))
 
+(define-public rust-cidr-0.2
+  (package
+    (inherit rust-cidr-0.3)
+    (name "rust-cidr")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cidr" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0896d3jxgmpz3avqgg37irn8pjhw8xj54i2wjkr8r5dx8l661pvb"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitstring" ,rust-bitstring-0.1)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1)
+        ("rust-serde-test" ,rust-serde-test-1)
+        ("rust-version-sync" ,rust-version-sync-0.9))))))
+
 (define-public rust-cint-0.3
   (package
     (name "rust-cint")
-- 
2.48.1