diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-02-15 21:26:33 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:56 +0200 |
commit | a19d83fd6b696fc755752b0de5aaadfc111fe60b (patch) | |
tree | 023c27ae1ff5225cec5bc0ce56d8854e0cd21b9e /gnu | |
parent | 1ea1a9e81b1225485706eeb55011c288e54266ab (diff) |
gnu: Add rust-netlink-sys-0.8.
* gnu/packages/crates-io.scm (rust-netlink-sys-0.8): New variable.
Change-Id: I0028e4f9b2c7eb830914abcf9371d24630d3a523
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 028505b2f3..9070127c98 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39924,6 +39924,37 @@ types as proposed in RFC 1158.") (license (list license:asl2.0 license:expat)))) +(define-public rust-netlink-sys-0.8 + (package + (name "rust-netlink-sys") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04842pp457q7g14d6a61j70k60zg2wrbz0cmda3ka0dcww4bywb4")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.8) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ;("rust-netlink-packet-audit" ,rust-netlink-packet-audit-0.4) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/netlink-sys") + (synopsis "Netlink sockets, with optional integration with tokio") + (description "The @code{netlink_sys} crate provides netlink sockets. +Integration with mio and tokio is optional.") + (license license:expat))) + (define-public rust-netmap-sys-0.1 (package (name "rust-netmap-sys") |