Subject: [PATCH 09/21] gnu: Add rust-whoami-0.8.

From: aecepoglu <[email-masked]>
Date: Thu, 4 Feb 2021 14:38:12 +0300

* gnu/packages/crates-io.scm (rust-whoami-0.8): New variable.
---
 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 23c36d215c..a5da6a84e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41929,6 +41929,29 @@ 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)
+    (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")
-- 
2.30.0