[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: rust-system-deps-1: Do not skip build.
From: |
guix-commits |
Subject: |
branch master updated: gnu: rust-system-deps-1: Do not skip build. |
Date: |
Fri, 04 Dec 2020 10:44:21 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2209965 gnu: rust-system-deps-1: Do not skip build.
2209965 is described below
commit 22099658444b0b848210912a4a6a6f81e325f2e3
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Dec 4 16:42:46 2020 +0100
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.
---
gnu/packages/crates-io.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7ad5d2b..ec77af2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28591,7 +28591,7 @@ syntax extension expansion.")
(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 @@ syntax extension expansion.")
("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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: rust-system-deps-1: Do not skip build.,
guix-commits <=