gnu: Add rust-whoami-1.
* gnu/packages/crates-io.scm (rust-whoami-1): New variable. (rust-whoami-0.8): Inherit from rust-whoami-1.
parent
9622bff8e9
commit
052d6a7a9d
|
@ -76124,25 +76124,41 @@ executable.")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempdir" ,rust-tempdir-0.3))))))
|
(("rust-tempdir" ,rust-tempdir-0.3))))))
|
||||||
|
|
||||||
(define-public rust-whoami-0.8
|
(define-public rust-whoami-1
|
||||||
(package
|
(package
|
||||||
|
(name "rust-whoami")
|
||||||
|
(version "1.4.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "whoami" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0l6ca9pl92wmngsn1dh9ih716v216nmn2zvcn94k04x9p1b3gz12"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
|
||||||
|
("rust-web-sys" ,rust-web-sys-0.3))))
|
||||||
|
(home-page "https://github.com/ardaku/whoami/blob/stable/CHANGELOG.md")
|
||||||
|
(synopsis "Retrieve the current user and environment")
|
||||||
|
(description
|
||||||
|
"This package provides simple functions to retrieve the current user and
|
||||||
|
environment.")
|
||||||
|
(license (list license:asl2.0 license:boost1.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-whoami-0.8
|
||||||
|
(package
|
||||||
|
(inherit rust-whoami-1)
|
||||||
(name "rust-whoami")
|
(name "rust-whoami")
|
||||||
(version "0.8.2")
|
(version "0.8.2")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "whoami" version))
|
(uri (crate-uri "whoami" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0z18m6w2q8a6rivd61sh3f00pdhyvxiwycs2j5088gvgdxb5bfqq"))))
|
(base32 "0z18m6w2q8a6rivd61sh3f00pdhyvxiwycs2j5088gvgdxb5bfqq"))))
|
||||||
(build-system cargo-build-system)
|
(arguments `(#:skip-build? #t))))
|
||||||
(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.7
|
(define-public rust-wide-0.7
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue