[bug#75677,rust-team,v2,45/81] gnu: rust-cidr-0.3: New variable.

Message ID 20250308033446.2101481-46-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-cidr-0.3): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba6a11f2ac..909e6fd93d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12596,6 +12596,34 @@  (define-public rust-ciborium-ll-0.2
      "This package provides low-level primitives for parsing the CBOR codec.")
     (license license:asl2.0)))
 
+(define-public rust-cidr-0.3
+  (package
+    (name "rust-cidr")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cidr" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0q5by8ilmqfyvvr2al7y1nzpw2d2jv6i6jrnghp9l8qn081n86xx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitstring" ,rust-bitstring-0.2)
+        ("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))))
+    (home-page "https://github.com/stbuehler/rust-cidr")
+    (synopsis "IP network and IP host within network types")
+    (description
+     "IP network and IP host within network types.")
+    (license license:expat)))
+
 (define-public rust-cint-0.3
   (package
     (name "rust-cint")