Archived
1
0
Fork 0

gnu: Add rust-macaddr-1.

* gnu/packages/crates-io.scm (rust-macaddr-1): New variable.

Change-Id: I160854f0da0d105a602e3f89370c076efa729258
This commit is contained in:
Efraim Flashner 2024-02-18 12:40:36 +02:00
parent 0aa03966df
commit 287436af87
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -36043,6 +36043,26 @@ lexer.")
"Cross-platform retrieval of a network interface MAC address.") "Cross-platform retrieval of a network interface MAC address.")
(license (list license:expat license:asl2.0)))) (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 (define-public rust-macrotest-1
(package (package
(name "rust-macrotest") (name "rust-macrotest")