gnu: Add rust-users-0.11.

* gnu/packages/crates-io.scm (rust-users-0.11): New variable.
(rust-users-0.10): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-02-16 22:18:44 +01:00
parent cc8489ba49
commit b4b4a96fe6
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -45611,8 +45611,32 @@ (define-public rust-user32-sys-0.2
See winapi for types and constants.")
(license license:expat)))
(define-public rust-users-0.11
(package
(name "rust-users")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "users" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0cmhafhhka2yya66yrprlv33kg7rm1xh1pyalbjp6yr6dxnhzk14"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4))))
(home-page "https://github.com/ogham/rust-users")
(synopsis "Library for getting information on Unix users and groups")
(description "This package provides a library for getting information on
Unix users and groups.")
(license license:expat)))
(define-public rust-users-0.10
(package
(inherit rust-users-0.11)
(name "rust-users")
(version "0.10.0")
(source
@ -45624,18 +45648,12 @@ (define-public rust-users-0.10
(sha256
(base32
"11plda5r3dl8hs0sl0jskazam4ayv3a06vmhzk4l7914agljfhma"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.7))))
(home-page "https://github.com/ogham/rust-users")
(synopsis "Library for getting information on Unix users and groups")
(description "This package provides a library for getting information on
Unix users and groups.")
(license license:expat)))
(("rust-env-logger" ,rust-env-logger-0.7))))))
(define-public rust-users-0.9
(package