guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68312] [PATCH 077/156] gnu: Add rust-mac-address-1.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 077/156] gnu: Add rust-mac-address-1.
Date: Mon, 8 Jan 2024 02:52:54 +0100

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

Change-Id: If7d80ca739e8fd5dc27529f8a2e950aa66c8a4f3
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f854f8eb785..4db57223adb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39666,6 +39666,29 @@ (define-public rust-mac-0.1
      "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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-nix" ,rust-nix-0.23)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (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")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]