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

From: aecepoglu <[email-masked]>
Date: Sun, 31 Jan 2021 01:45:11 +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 0f7e6b8fd7..4ce7c0b88b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41719,6 +41719,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
+      "This library provides ability 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