guix-patches
[Top][All Lists]
Advanced

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

[bug#46192] [PATCH 21/22] gnu: Add rust-whoami-0.8.


From: aecepoglu
Subject: [bug#46192] [PATCH 21/22] gnu: Add rust-whoami-0.8.
Date: Sat, 30 Jan 2021 17:34:06 +0300

* gnu/packages/crates-io.scm (rust-whoami-0.8): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59ca2db5ca..eff66c3e98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41732,6 +41732,27 @@ Locate installed executable in cross platforms.")
        #:cargo-development-inputs
        (("rust-tempdir" ,rust-tempdir-0.3))))))
 
+(define-public rust-whoami-0.8
+  (package
+    (name "rust-whoami")
+    (version "0.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "whoami" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "14f3vqv6x7pli2nnm5vv9ip30zkzvvp5cidrh4g8isjqn52bi3m0"))))
+    (build-system cargo-build-system)
+    (home-page "https://libcala.github.io/whoami";)
+    (synopsis
+      "Retrieve the current user and environment.")
+    (description
+      "Retrieve the current user and environment.")
+    (license (list license:expat license:boost1.0))))
+
 (define-public rust-wide-0.4
   (package
     (name "rust-wide")
-- 
2.30.0






reply via email to

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