mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: rust-system-deps-1: Do not skip build.
* gnu/packages/crates-io.scm (rust-system-deps-1): Do not skip build. [arguments]: Disable tests. Add rust-itertools as a development input. Add a phase to fix build.
This commit is contained in:
parent
3184c10463
commit
2209965844
1 changed files with 10 additions and 2 deletions
|
@ -28591,7 +28591,7 @@ (define-public rust-system-deps-1
|
|||
(base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
`(#:tests? #f ;source is missing some test files
|
||||
#:cargo-inputs
|
||||
(("rust-heck" ,rust-heck-0.3)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||
|
@ -28599,7 +28599,15 @@ (define-public rust-system-deps-1
|
|||
("rust-strum-macros" ,rust-strum-macros-0.18)
|
||||
("rust-thiserror" ,rust-thiserror-1)
|
||||
("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
|
||||
(("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")
|
||||
(synopsis "Define system dependencies in @file{Cargo.toml}")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue