aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:02:49 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:26 +0300
commitdd82d54032a81c78f24b2d74b7bc673c8356b338 (patch)
tree8fe0fb5564684288a3883535f5a983896060413d
parent907c1f33dc3d44c971043853b80eff481a3d08b2 (diff)
downloadguix-dd82d54032a81c78f24b2d74b7bc673c8356b338.tar.gz
guix-dd82d54032a81c78f24b2d74b7bc673c8356b338.zip
gnu: Add rust-pnet-base-0.34.
* gnu/packages/crates-io.scm (rust-pnet-base-0.34): Add variable. (rust-pnet-base-0.27): Inherit rust-pnet-base-0.34. Change-Id: I00cfe081f4414616c7524af5093ebd639c8cd37f Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 23 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f369a332f5..860eb03021 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50288,29 +50288,44 @@ both WASM and native applications")
(description "This package provides utils for proc-macro.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-pnet-base-0.27
+(define-public rust-pnet-base-0.34
(package
(name "rust-pnet-base")
- (version "0.27.2")
+ (version "0.34.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pnet_base" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))
+ (base32 "0k2z3jh6vw99bwl0ckpsd142n4yiscza1bmj3b86i2xk7bxzck7y"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-serde-test" ,rust-serde-test-1))))
+ `(#:cargo-inputs (("rust-no-std-net" ,rust-no-std-net-0.6)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/libpnet/libpnet")
- (synopsis "Fundamental base types and code used by pnet")
+ (synopsis "Fundamental base types and code used by pnet.")
(description
"This crate implements fundamental base types and code used by pnet.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pnet-base-0.27
+ (package
+ (inherit rust-pnet-base-0.34)
+ (name "rust-pnet-base")
+ (version "0.27.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pnet_base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-pnet-datalink-0.27
(package
(name "rust-pnet-datalink")