From 3e838a21feb468407a9ca5654dd616ab32601981 Mon Sep 17 00:00:00 2001 From: Jakub Kądziołka Date: Wed, 24 Jun 2020 16:55:58 +0200 Subject: 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. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'gnu') 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") -- cgit v1.2.3