summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-02-15 21:26:43 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:57 +0200
commitc7e9d15b2ecda0101d7a97c4f345dba265d2aa2c (patch)
treefd88c6eae196430a59323f553c5c8727a5f8c7d7 /gnu
parentc581d7352b85b53403540e161b8ca59f9bef43b4 (diff)
gnu: Add rust-ethtool-0.2.
* gnu/packages/crates-io.scm (rust-ethtool-0.2): New variable. Change-Id: Ifdf2ebb7cfd77412a73e0effeb755b60bb378a2a Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f0c251389..94dac88ebd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56396,6 +56396,41 @@ the file-system during development.")
(description "Traits for key comparison in maps.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ethtool-0.2
+ (package
+ (name "rust-ethtool")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethtool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nivim6pzfvrnmyb0p7qv39q54vraa0z6jy0ims7gp0panih93hx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=test_dump_link_modes")
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-genetlink" ,rust-genetlink-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3)
+ ("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-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://docs.rs/ethtool/latest/ethtool/")
+ (synopsis "Linux Ethtool Communication Library")
+ (description "Linux Ethtool Communication Library.")
+ (license license:expat)))
+
(define-public rust-rust-hawktracer-0.7
(package
(name "rust-rust-hawktracer")