gnu: Add rust-netlink-packet-route-0.21.

* gnu/packages/crates-io.scm (rust-netlink-packet-route-0.21): New
variable.
(rust-netlink-packet-route-0.19): Inherit from
rust-netlink-packet-route-0.21.

Change-Id: I3d3918a079adb385f430e44dc7a47fcd2529133c
This commit is contained in:
Efraim Flashner 2024-12-25 16:20:35 +02:00
parent 9713833c2c
commit a2c6d4b99a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -50060,8 +50060,39 @@ (define-public rust-netlink-packet-generic-0.3
(description "Generic netlink packet types.")
(license license:expat)))
(define-public rust-netlink-packet-route-0.21
(package
(name "rust-netlink-packet-route")
(version "0.21.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "netlink-packet-route" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vh6qc3c87ihbwb7s1z7ik1i5f2fa1yhk3w52j96jrggpza2acs8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-bitflags" ,rust-bitflags-2)
("rust-byteorder" ,rust-byteorder-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))
#:cargo-development-inputs
(("rust-netlink-sys" ,rust-netlink-sys-0.8)
("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
(home-page "https://github.com/rust-netlink/netlink-packet-route")
(synopsis "Netlink packet types")
(description "The netlink-packet-route crate is designed to abstract
Netlink route protocol(rtnetlink) packet into Rust data types. The goal of
this crate is saving netlink user from reading Kernel Netlink codes.")
(license license:expat)))
(define-public rust-netlink-packet-route-0.19
(package
(inherit rust-netlink-packet-route-0.21)
(name "rust-netlink-packet-route")
(version "0.19.0")
(source
@ -50071,7 +50102,6 @@ (define-public rust-netlink-packet-route-0.19
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1x4bjc97nq6ckvn25l8qysybf324jbinqx6s11vqrvmlfz6p3hbl"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Cut the dependency tree
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
@ -50083,13 +50113,7 @@ (define-public rust-netlink-packet-route-0.19
#:cargo-development-inputs
(("rust-netlink-sys" ,rust-netlink-sys-0.8)
;("rust-pcap-file" ,rust-pcap-file-1)
("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
(home-page "https://github.com/rust-netlink/netlink-packet-route")
(synopsis "Netlink packet types")
(description "The netlink-packet-route crate is designed to abstract
Netlink route protocol(rtnetlink) packet into Rust data types. The goal of
this crate is saving netlink user from reading Kernel Netlink codes.")
(license license:expat)))
("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))))
(define-public rust-netlink-packet-route-0.18
(package