diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-01-08 02:52:54 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:48 +0200 |
commit | af88c5338a3449178bef30fc6a8fbe3814d5d906 (patch) | |
tree | ce0e461da7c3b495162b2050e3cd0da0ed0e95ae /gnu/packages | |
parent | d55d9700950e7ecb51372082d58c7dd39bdc06a0 (diff) | |
download | guix-af88c5338a3449178bef30fc6a8fbe3814d5d906.tar.gz |
gnu: Add rust-mac-address-1.
* gnu/packages/crates-io.scm (rust-mac-address-1): New variable. Change-Id: If7d80ca739e8fd5dc27529f8a2e950aa66c8a4f3 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e994a2d0e7..1c47e6bd9a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38645,6 +38645,30 @@ lexer.") "This package provides a collection of great and ubiqutitous macros.") (license (list license:asl2.0 license:expat)))) +(define-public rust-mac-address-1 + (package + (name "rust-mac-address") + (version "1.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "mac_address" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0miqmn1768vxr5f3gbsnr1dlnzc5ilrrj0n07fziblwyy6afwqs8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/rep-nop/mac_address") + (synopsis "Cross-platform retrieval of a network interface MAC address") + (description + "Cross-platform retrieval of a network interface MAC address.") + (license (list license:expat license:asl2.0)))) + (define-public rust-macrotest-1 (package (name "rust-macrotest") |