diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 12:04:23 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 17:00:18 +0300 |
commit | 3cde2bdaa650bc14901f0cca90ee8aaa1940fb9e (patch) | |
tree | d22907679f2b91c3b0db94099c584318c9b053e8 /gnu | |
parent | c0f5b34e48d8133dc17b4d9fe0ebd06302c38f01 (diff) | |
download | guix-3cde2bdaa650bc14901f0cca90ee8aaa1940fb9e.tar guix-3cde2bdaa650bc14901f0cca90ee8aaa1940fb9e.tar.gz |
gnu: rust-colored-1.9: Don't skip build.
* gnu/packages/crates-io.scm (rust-colored-1.9)[arguments]: Don't skip
build. Add rust-rspec-1 to cargo-development-inputs. Add custom phase to
use rust-rspec-1.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eeb3a09b96..d79d8cab53 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3421,15 +3421,21 @@ CMAKE environmental variable is set.") "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f #:cargo-inputs (("rust-atty" ,rust-atty-0.2) ("rust-winapi" ,rust-winapi-0.3) ("rust-lazy-static" ,rust-lazy-static-1)) #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ;("rust-rspec" ,rust-rspec-1.0) - ))) + ("rust-rspec" ,rust-rspec-1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version-requirements + (lambda _ + (substitute* "Cargo.toml" + (("1.0.0-beta.3") ,(package-version rust-rspec-1))) + #t))))) (home-page "https://github.com/mackwic/colored") (synopsis "Add colors in your terminal") (description @@ -3446,8 +3452,7 @@ CMAKE environmental variable is set.") (uri (crate-uri "colored" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r")))) - (build-system cargo-build-system))) + (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r")))))) ;; This package requires features which are unavailable ;; on the stable releases of Rust. |