summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:44 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:48 +0200
commitd55d9700950e7ecb51372082d58c7dd39bdc06a0 (patch)
treedfe7c99e11e7e91baef8800a0ce863bacf2ff511 /gnu
parent0e4c93e676faf78a59b43fe52cf615558834a5e8 (diff)
gnu: Add rust-ipnetwork-0.20.
* gnu/packages/crates-io.scm (rust-ipnetwork-0.20): New variable. (rust-ipnetwork-0.17): Inherit from rust-ipnetwork-0.20. Change-Id: Ie6268112b4ad172dc414502f34bd2ef716ffa7fa Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cdf2b7b2ef..e994a2d0e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33841,8 +33841,31 @@ The module only uses stable feature so it is guaranteed to compile using the
stable toolchain.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ipnetwork-0.20
+ (package
+ (name "rust-ipnetwork")
+ (version "0.20.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ipnetwork" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03hhmxyimz0800z44wl3z1ak8iw91xcnk7sgx5p5jinmx50naimz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-schemars" ,rust-schemars-0.8)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://crates.io/crates/ipnetwork")
+ (synopsis "Work with IP CIDRs in Rust")
+ (description "This package provides a library to work with IP CIDRs in
+Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ipnetwork-0.17
(package
+ (inherit rust-ipnetwork-0.20)
(name "rust-ipnetwork")
(version "0.17.0")
(source
@@ -33853,19 +33876,13 @@ stable toolchain.")
(sha256
(base32
"0sviri9ksb3cmhx3h0rcfy8pvpx7f0cx5ba1z87ydvf07amymhq2"))))
- (build-system cargo-build-system)
(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))))
- (home-page "https://crates.io/crates/ipnetwork")
- (synopsis "Work with IP CIDRs in Rust")
- (description "This package provides a library to work with IP CIDRs in
-Rust.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-is-debug-1
(package