diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-06-24 16:55:58 +0200 |
---|---|---|
committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-06-24 21:14:33 +0200 |
commit | 3e838a21feb468407a9ca5654dd616ab32601981 (patch) | |
tree | 59dc96a2de22f7ab89a0830cd2267326d33f246b | |
parent | c434a3fbc09f5e56f29c0d86b6c02cd6cb79cec6 (diff) | |
download | guix-3e838a21feb468407a9ca5654dd616ab32601981.tar.gz |
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.
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9ed8bc6e39..a88023feb1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25563,10 +25563,10 @@ untrusted inputs in Rust.") See winapi for types and constants.") (license license:expat))) -(define-public rust-users-0.9 +(define-public rust-users-0.10 (package (name "rust-users") - (version "0.9.1") + (version "0.10.0") (source (origin (method url-fetch) @@ -25575,16 +25575,37 @@ See winapi for types and constants.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1kxl3y2hcrqqip7jpqn5mz7xlpbwmmpfmaza0xnyrhx0mrkl4by7")))) + "11plda5r3dl8hs0sl0jskazam4ayv3a06vmhzk4l7914agljfhma")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + `(#: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 + (origin + (method url-fetch) + (uri (crate-uri "users" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kxl3y2hcrqqip7jpqn5mz7xlpbwmmpfmaza0xnyrhx0mrkl4by7")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-utf-8-0.7 (package (name "rust-utf-8") |