summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-02-15 21:26:44 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:58 +0200
commitb421c5b5b08c778d15484673ca179758c8ac2a5b (patch)
tree1103b213424e6148b975ffd574fda3c4c65e766b /gnu
parentc7e9d15b2ecda0101d7a97c4f345dba265d2aa2c (diff)
gnu: Add rust-nispor-1.
* gnu/packages/crates-io.scm (rust-nispor-1): New variable. Change-Id: I6082ba44b5d3e63bbaf194389cd59c2a8a1e0dff Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94dac88ebd..e15b550a91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40630,6 +40630,40 @@ nitrokey crate and others using it.")
nitrokey-test crate.")
(license license:gpl3+)))
+(define-public rust-nispor-1
+ (package
+ (name "rust-nispor")
+ (version "1.2.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nispor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jp0fs6sy8cpg0gi7jkh215czbx3b8p0kygimpx0abgg6mx2955b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests can't run in the build environment.
+ #:cargo-inputs (("rust-ethtool" ,rust-ethtool-0.2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mptcp-pm" ,rust-mptcp-pm-0.1)
+ ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-rtnetlink" ,rust-rtnetlink-0.14)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-pretty-assertions"
+ ,rust-pretty-assertions-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.9))))
+ (home-page "https://github.com/nispor/nispor")
+ (synopsis "Unified interface for Linux network state querying")
+ (description "Unified interface for Linux network state querying.")
+ (license license:asl2.0)))
+
(define-public rust-nix-0.27
(package
(name "rust-nix")