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>
This commit is contained in:
Herman Rimm 2024-02-18 22:02:50 +01:00 committed by Efraim Flashner
parent dd82d54032
commit b8013747ec
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -50354,8 +50354,31 @@ (define-public rust-pnet-datalink-0.27
"This crate implements cross-platform, datalink layer networking.")
(license (list license:expat license:asl2.0))))
(define-public rust-pnet-sys-0.34
(package
(name "rust-pnet-sys")
(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 "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))))
(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
@ -50364,18 +50387,7 @@ (define-public rust-pnet-sys-0.27
(uri (crate-uri "pnet_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))
(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))))
(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))))
(base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))))
(define-public rust-pocket-resources-0.3
(package