diff options
author | Vinicius Monego <monego@posteo.net> | 2021-07-13 17:19:36 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-07-15 10:30:19 +0300 |
commit | a0a6fb15e506c926b13de80ddc20a6c12c05224e (patch) | |
tree | c19ad618a0c43f473627581b610e61abac96ba36 /gnu | |
parent | bfefe256a30ca3c8a84d6df216291b39bc4424e9 (diff) | |
download | guix-a0a6fb15e506c926b13de80ddc20a6c12c05224e.tar.gz guix-a0a6fb15e506c926b13de80ddc20a6c12c05224e.zip |
gnu: rust-system-deps-1: Fix version requirements.
* gnu/packages/crates-io.scm (rust-system-deps-1)[source]: Add snippet to fix
rust-version-compare version.
[arguments]<#:phases>: Remove 'fix-version-requirements phase.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a596c858ba..f017f52f14 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45988,7 +45988,12 @@ processors, disks, components and networks.") (uri (crate-uri "system-deps" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg")))) + (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("0.0.10") "0.0")) + #t)))) (build-system cargo-build-system) (arguments `(#:tests? #f ;source is missing some test files @@ -46001,13 +46006,7 @@ processors, disks, components and networks.") ("rust-toml" ,rust-toml-0.5) ("rust-version-compare" ,rust-version-compare-0.0)) #:cargo-development-inputs - (("rust-itertools" ,rust-itertools-0.9)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("0.0.10") ,(package-version rust-version-compare-0.0)))))))) + (("rust-itertools" ,rust-itertools-0.9)))) (home-page "https://github.com/gdesmott/system-deps") (synopsis "Define system dependencies in @file{Cargo.toml}") (description |