diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-02-18 12:40:36 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:57 +0200 |
commit | 287436af87b6d1921d2a61eb2ee526eff86e26d2 (patch) | |
tree | 5474e92936892bd9870f186cfab57b3a7d7cc7a7 /gnu/packages/crates-io.scm | |
parent | 0aa03966dfaf1918b7ddbc1a4e177e5ad58b6fc3 (diff) |
gnu: Add rust-macaddr-1.
* gnu/packages/crates-io.scm (rust-macaddr-1): New variable.
Change-Id: I160854f0da0d105a602e3f89370c076efa729258
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 86933a2513..3961a1ff96 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36043,6 +36043,26 @@ lexer.") "Cross-platform retrieval of a network interface MAC address.") (license (list license:expat license:asl2.0)))) +(define-public rust-macaddr-1 + (package + (name "rust-macaddr") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "macaddr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n5jxn79krlql810c4w3hdkvyqc01141dc5y6fr9sxff2yy0pvms")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)))) + (home-page "https://github.com/svartalf/rust-macaddr") + (synopsis "MAC address types") + (description "This pakcage provides MAC address types.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-macrotest-1 (package (name "rust-macrotest") |