guix-commits
[Top][All Lists]
Advanced

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

08/22: gnu: Add rust-whoami-0.8.


From: guix-commits
Subject: 08/22: gnu: Add rust-whoami-0.8.
Date: Thu, 4 Feb 2021 09:59:37 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 1e7d27799551715bd5999371288b19417df09167
Author: aecepoglu <aecepoglu@fastmail.fm>
AuthorDate: Thu Feb 4 14:38:12 2021 +0300

    gnu: Add rust-whoami-0.8.
    
    * gnu/packages/crates-io.scm (rust-whoami-0.8): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7757bc..b4cde5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41885,6 +41885,26 @@ 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.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "whoami" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z18m6w2q8a6rivd61sh3f00pdhyvxiwycs2j5088gvgdxb5bfqq"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/libcala/whoami";)
+    (synopsis "Retrieve the current user and environment")
+    (description
+     "This package provides simple functions to retrieve the current user and
+environment.")
+    (license (list license:expat license:boost1.0))))
+
 (define-public rust-wide-0.4
   (package
     (name "rust-wide")



reply via email to

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