gnu: Add rust-uu-whoami-0.0.23.

* gnu/packages/crates-io.scm (rust-uu-whoami-0.0.23): New variable.

Change-Id: I8abfad3b77c63b7f65a6b1541c599d312b366a61
This commit is contained in:
Efraim Flashner 2024-03-31 14:40:23 +03:00
parent 71d12e5142
commit c8793458da
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -85045,6 +85045,29 @@ (define-public rust-utf8parse-0.1
(base32
"0zamsj2986shm4x9zncjf2m5qy9scaw7qnxw4f89b2afpg6a8wl7"))))))
(define-public rust-uu-whoami-0.0.23
(package
(name "rust-uu-whoami")
(version "0.0.23")
(source
(origin
(method url-fetch)
(uri (crate-uri "uu_whoami" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0k9p305ph1nx29gr02alasj3y8xczhh8yaxj3zzcnd0znk1rsn3h"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-clap" ,rust-clap-4)
("rust-libc" ,rust-libc-0.2)
("rust-uucore" ,rust-uucore-0.0.25)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/uutils/coreutils")
(synopsis
"whoami ~ (uutils) display user name of current effective user ID")
(description "This package provides the @code{whoami} command from uutils.")
(license license:expat)))
(define-public rust-uucore-0.0.25
(package
(name "rust-uucore")