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>
This commit is contained in:
Wilko Meyer 2024-01-08 02:52:44 +01:00 committed by Efraim Flashner
parent 0e4c93e676
commit d55d970095
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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