diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
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 |