gnu: Add rust-redox-users-0.4.

* gnu/packages/crates-io.scm (rust-redox-users-0.4): New variable.
(rust-redox-users-0.3): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-07 22:30:04 +01:00 committed by Leo Famulari
parent 53765a7ded
commit 2dc17c4b83
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -42392,8 +42392,34 @@ (define-public rust-redox-termios-0.1
"This package provides a Rust library to access Redox termios functions.") "This package provides a Rust library to access Redox termios functions.")
(license license:expat))) (license license:expat)))
(define-public rust-redox-users-0.4
(package
(name "rust-redox-users")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "redox_users" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0r5y1a26flkn6gkayi558jg5dzh2m2fdsapgkpn7mj01v3rk51aj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.2)
("rust-redox-syscall" ,rust-redox-syscall-0.2)
("rust-rust-argon2" ,rust-rust-argon2-0.8))))
(home-page "https://gitlab.redox-os.org/redox-os/users")
(synopsis "Rust library to access Redox users and groups functionality")
(description
"This package provides a Rust library to access Redox users and groups
functionality")
(license license:expat)))
(define-public rust-redox-users-0.3 (define-public rust-redox-users-0.3
(package (package
(inherit rust-redox-users-0.4)
(name "rust-redox-users") (name "rust-redox-users")
(version "0.3.4") (version "0.3.4")
(source (source
@ -42403,21 +42429,13 @@ (define-public rust-redox-users-0.3
(file-name (file-name
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0cbl5w16l3bqm22i4vszclf6hzpljxicghmllw7j13az4s9k1ch9"))))
"0cbl5w16l3bqm22i4vszclf6hzpljxicghmllw7j13az4s9k1ch9"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.1) (("rust-getrandom" ,rust-getrandom-0.1)
("rust-redox-syscall" ,rust-redox-syscall-0.1) ("rust-redox-syscall" ,rust-redox-syscall-0.1)
("rust-rust-argon2" ,rust-rust-argon2-0.7)))) ("rust-rust-argon2" ,rust-rust-argon2-0.7))))))
(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-reduce-0.1 (define-public rust-reduce-0.1
(package (package