mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
c0f5b34e48
commit
3cde2bdaa6
1 changed files with 10 additions and 5 deletions
|
@ -3421,15 +3421,21 @@ CMAKE environmental variable is set.")
|
||||||
"0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))
|
"0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:tests? #f
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-atty" ,rust-atty-0.2)
|
(("rust-atty" ,rust-atty-0.2)
|
||||||
("rust-winapi" ,rust-winapi-0.3)
|
("rust-winapi" ,rust-winapi-0.3)
|
||||||
("rust-lazy-static" ,rust-lazy-static-1))
|
("rust-lazy-static" ,rust-lazy-static-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
(("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")
|
(home-page "https://github.com/mackwic/colored")
|
||||||
(synopsis "Add colors in your terminal")
|
(synopsis "Add colors in your terminal")
|
||||||
(description
|
(description
|
||||||
|
@ -3446,8 +3452,7 @@ CMAKE environmental variable is set.")
|
||||||
(uri (crate-uri "colored" version))
|
(uri (crate-uri "colored" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))
|
(base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))))
|
||||||
(build-system cargo-build-system)))
|
|
||||||
|
|
||||||
;; This package requires features which are unavailable
|
;; This package requires features which are unavailable
|
||||||
;; on the stable releases of Rust.
|
;; on the stable releases of Rust.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue