From b4b4a96fe6fad9e9016277a94f4ffe56f23a2326 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 16 Feb 2021 22:18:44 +0100 Subject: gnu: Add rust-users-0.11. * gnu/packages/crates-io.scm (rust-users-0.11): New variable. (rust-users-0.10): Inherit from above. --- gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1a60a668e3..fba00154a4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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 -- cgit v1.2.3