diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-02-15 21:26:42 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:57 +0200 |
commit | 0aa03966dfaf1918b7ddbc1a4e177e5ad58b6fc3 (patch) | |
tree | abf11964e62c01a9fd3d5154d6cd9f1b11a9d39e /gnu/packages | |
parent | 01fee46ce3a4b2b220f26da38f7ef2db0c903e20 (diff) |
gnu: Add rust-rtnetlink-0.14.
* gnu/packages/crates-io.scm (rust-rtnetlink-0.14): New variable.
Change-Id: I0127c096062450247a9e40564a809620e92027c6
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b870581015..86933a2513 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16120,6 +16120,47 @@ all the formatting features of the format! macro, except for the fill character.") (license license:asl2.0))) +(define-public rust-rtnetlink-0.14 + (package + (name "rust-rtnetlink") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rtnetlink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=link::test::create_get_delete_macvlan" + "--skip=link::test::create_get_delete_wg" + "--skip=traffic_control::add_filter::test::test_new_filter" + "--skip=traffic_control::add_qdisc::test::test_new_qdisc") + #:cargo-inputs (("rust-async-global-executor" ,rust-async-global-executor-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-ipnetwork" ,rust-ipnetwork-0.18) + ("rust-macaddr" ,rust-macaddr-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/rtnetlink") + (synopsis "Manipulate linux networking resources via netlink") + (description "This crate provides methods to manipulate networking +resources (links, addresses, arp tables, route tables) via the netlink route +protocol.") + (license license:expat))) + (define-public rust-rusticata-macros-4 (package (name "rust-rusticata-macros") |