gnu: rust-argon2rs-0.2: Don't skip build.

* gnu/packages/crates-io.scm (rust-argon2rs-0.2)[arguments]: Don't skip
build. Add phase to find all rust dependencies.
This commit is contained in:
Efraim Flashner 2020-03-16 21:28:51 +02:00
parent f86dd71cbd
commit 182f2a471d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -476,12 +476,18 @@ (define-public rust-argon2rs-0.2
"14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
`(#:cargo-inputs
(("rust-blake2-rfc" ,rust-blake2-rfc-0.2)
("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1))
#:cargo-development-inputs
(("rust-cargon" ,rust-cargon-0.0))))
(("rust-cargon" ,rust-cargon-0.0))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-cargo-toml
(lambda _
(substitute* "Cargo.toml"
(("\\{ path =.*,") "{"))
#t)))))
(home-page "https://github.com/bryant/argon2rs")
(synopsis "Rust password hashing library that runs on Argon2")
(description "This package provides a pure Rust password hashing library