gnu: Add rust-users-0.10.

* gnu/packages/crates-io.scm (rust-users-0.10): New variable.
  (rust-users-0.9): Inherit from rust-users-0.10.
This commit is contained in:
Jakub Kądziołka 2020-06-24 16:55:58 +02:00
parent c434a3fbc0
commit 3e838a21fe
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -25563,8 +25563,35 @@ (define-public rust-user32-sys-0.2
See winapi for types and constants.")
(license license:expat)))
(define-public rust-users-0.10
(package
(name "rust-users")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "users" version))
(file-name
(string-append name "-" version ".tar.gz"))
(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)))
(define-public rust-users-0.9
(package
(inherit rust-users-0.10)
(name "rust-users")
(version "0.9.1")
(source
@ -25576,14 +25603,8 @@ (define-public rust-users-0.9
(sha256
(base32
"1kxl3y2hcrqqip7jpqn5mz7xlpbwmmpfmaza0xnyrhx0mrkl4by7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
(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)))
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
(define-public rust-utf-8-0.7
(package