aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:02:50 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:27 +0300
commitb8013747ecb59ee89a4b9d1d81ae97ed5ec4a2b1 (patch)
tree5dec1b793255be9bfd4e47cfc5f8664a34b2274c
parentdd82d54032a81c78f24b2d74b7bc673c8356b338 (diff)
downloadguix-b8013747ecb59ee89a4b9d1d81ae97ed5ec4a2b1.tar.gz
guix-b8013747ecb59ee89a4b9d1d81ae97ed5ec4a2b1.zip
gnu: Add rust-pnet-sys-0.34.
* gnu/packages/crates-io.scm (rust-pnet-sys-0.34): Add variable. (rust-pnet-sys-0.27): Inherit rust-pnet-sys-0.34. Change-Id: I00cfe081f4414616c7524af5093ebd639c8cd37f Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 18 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 860eb03021..f004edd2af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50354,29 +50354,41 @@ both WASM and native applications")
"This crate implements cross-platform, datalink layer networking.")
(license (list license:expat license:asl2.0))))
-(define-public rust-pnet-sys-0.27
+(define-public rust-pnet-sys-0.34
(package
(name "rust-pnet-sys")
- (version "0.27.2")
+ (version "0.34.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pnet_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))
+ (base32 "004d28vbaxv3m55cd741mpjm34031c3p2dpp8kazcwxms7n0nz21"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tries to use sockets.
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/libpnet/libpnet")
(synopsis "Access to network related system functions")
(description
"This crate providess access to network related system function and calls.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pnet-sys-0.27
+ (package
+ (inherit rust-pnet-sys-0.34)
+ (name "rust-pnet-sys")
+ (version "0.27.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pnet_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))))
+
(define-public rust-pocket-resources-0.3
(package
(name "rust-pocket-resources")