aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 14:38:12 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:48:30 +0100
commit1e7d27799551715bd5999371288b19417df09167 (patch)
tree2c40ebbc898332e8154134057887d907b80a9631
parentaccdd71483497257954f9df5c687046c0624ce6d (diff)
downloadguix-1e7d27799551715bd5999371288b19417df09167.tar
guix-1e7d27799551715bd5999371288b19417df09167.tar.gz
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>
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7757bc7b7..b4cde5f3a4 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")