mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: Add rust-rpassword-5.
* gnu/packages/crates-io.scm (rust-rpassword-5): New variable, skipping build. (rust-rpassword-4): Inherit from rust-rpassword-5.
This commit is contained in:
parent
639f64823b
commit
c12601ef58
1 changed files with 25 additions and 11 deletions
|
@ -22423,8 +22423,32 @@ (define-public rust-rspec-1
|
|||
rust.")
|
||||
(license license:mpl2.0)))
|
||||
|
||||
(define-public rust-rpassword-5
|
||||
(package
|
||||
(name "rust-rpassword")
|
||||
(version "5.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rpassword" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1j96nc3dmqhxwb4ql50r5xjs0imwr2x6mrj02mj9i7grq1zj6mfp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-libc" ,rust-libc-0.2)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(home-page "https://github.com/conradkleinespel/rpassword")
|
||||
(synopsis "Read passwords in Rust console applications")
|
||||
(description "This package provides a crate for reading passwords in
|
||||
console applications.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-rpassword-4
|
||||
(package
|
||||
(inherit rust-rpassword-5)
|
||||
(name "rust-rpassword")
|
||||
(version "4.0.5")
|
||||
(source
|
||||
|
@ -22433,17 +22457,7 @@ (define-public rust-rpassword-4
|
|||
(uri (crate-uri "rpassword" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-libc" ,rust-libc-0.2)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(home-page "https://github.com/conradkleinespel/rpassword")
|
||||
(synopsis "Read passwords in Rust console applications")
|
||||
(description "This package provides a crate for reading passwords in
|
||||
console applications.")
|
||||
(license license:asl2.0)))
|
||||
(base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))))
|
||||
|
||||
(define-public rust-rpassword-3
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue