From b43885e9e25493fd66b90769e99bc6e215ee7ecf Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:19:58 -0800 Subject: [PATCH] gnu: Add rust-redox-users-0.3. * gnu/packages/crates-io.scm (rust-redox-users-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dce7a6daed..4728ecde60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8647,6 +8647,34 @@ system calls.") "This package provides a Rust library to access Redox termios functions.") (license license:expat))) +(define-public rust-redox-users-0.3 + (package + (name "rust-redox-users") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_users" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vdn688q9wg997b1x5abx2gf7406rn1lvd62ypcgh1gj7g5dpkjf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-failure" ,rust-failure-0.1) + ("rust-rand-os" ,rust-rand-os-0.1) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-rust-argon2" ,rust-rust-argon2-0.5)))) + (home-page "https://gitlab.redox-os.org/redox-os/users") + (synopsis "Access Redox users and groups") + (description + "This package provides a Rust library to access Redox users and groups +functionality.") + (license license:expat))) + (define-public rust-ref-cast-0.2 (package (name "rust-ref-cast")