mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
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>
This commit is contained in:
parent
bfefe256a3
commit
a0a6fb15e5
1 changed files with 7 additions and 8 deletions
|
@ -45988,7 +45988,12 @@ (define-public rust-system-deps-1
|
||||||
(uri (crate-uri "system-deps" version))
|
(uri (crate-uri "system-deps" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(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)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;source is missing some test files
|
`(#:tests? #f ;source is missing some test files
|
||||||
|
@ -46001,13 +46006,7 @@ (define-public rust-system-deps-1
|
||||||
("rust-toml" ,rust-toml-0.5)
|
("rust-toml" ,rust-toml-0.5)
|
||||||
("rust-version-compare" ,rust-version-compare-0.0))
|
("rust-version-compare" ,rust-version-compare-0.0))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-itertools" ,rust-itertools-0.9))
|
(("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))))))))
|
|
||||||
(home-page "https://github.com/gdesmott/system-deps")
|
(home-page "https://github.com/gdesmott/system-deps")
|
||||||
(synopsis "Define system dependencies in @file{Cargo.toml}")
|
(synopsis "Define system dependencies in @file{Cargo.toml}")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue