mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 02:39:17 +01:00
gnu: rust-time-0.1: Don't skip the build.
* gnu/packages/crates-io.scm (rust-time-0.1)[source]: Add snippet to allow newer versions of dependencies. [arguments]: Don't skip the build. Add cargo-test-flags. Change-Id: Iaff90a0097de00d91b7058cf54b0cca1281b3eb0
This commit is contained in:
parent
77d49c4df1
commit
062999292d
1 changed files with 14 additions and 2 deletions
|
@ -67544,10 +67544,22 @@ interoperable with the standard library, and is mostly compatible with
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0nl0pzv9yf56djy8y5dx25nka5pr2q1ivlandb3d24pksgx7ly8v"))))
|
"0nl0pzv9yf56djy8y5dx25nka5pr2q1ivlandb3d24pksgx7ly8v"))
|
||||||
|
(snippet
|
||||||
|
#~(begin (use-modules (guix build utils))
|
||||||
|
(substitute* "Cargo.toml"
|
||||||
|
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
|
||||||
|
(string-append "\"^" version)))))))
|
||||||
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-test-flags
|
||||||
|
'("--release" "--"
|
||||||
|
"--skip=tests::test_asctime"
|
||||||
|
"--skip=tests::test_at"
|
||||||
|
"--skip=tests::test_ctime"
|
||||||
|
"--skip=tests::test_dst"
|
||||||
|
"--skip=tests::test_strftime")
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||||
|
|
Loading…
Add table
Reference in a new issue