summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-16 21:28:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-16 21:28:51 +0200
commit182f2a471d85c4936126de84aaa494896a9d940a (patch)
tree6b7ccbe87282322da00ebc067c25ee6c62822f9e /gnu
parentf86dd71cbdc4de5c4a38a7c598c99e630f360757 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57b192c4b3..45b941d189 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -476,12 +476,18 @@ text or blue underlined text, on ANSI terminals.")
"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