me
/
guix
Archived
1
0
Fork 0

gnu: rust-colored-2: Update to 2.1.0.

* gnu/packages/crates-io.scm (rust-colored-2): Update to 2.1.0.
[cargo-inputs]: Add rust-windows-0.48.  Remove rust-atty-0.2,
rust-winapi-0.3.
[cargo-developments]: Replace rust-rspec-1 with 1.0.0-beta.3.
[arguments]: Remove phase adjusting the version of rspec dependency.

Change-Id: I6a3ac06cea29f463990db61ec2d503371d059160
master
Efraim Flashner 2023-12-27 10:52:35 +02:00
parent bcc927e157
commit 5d205402d9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 15 deletions

View File

@ -14599,33 +14599,24 @@ based on color-backtrace.")
(define-public rust-colored-2 (define-public rust-colored-2
(package (package
(name "rust-colored") (name "rust-colored")
(version "2.0.0") (version "2.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "colored" version)) (uri (crate-uri "colored" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk")))) "1f4h9p64snrnz4x432iza15p4diqjcgpmpvhi956d6r1rq61bwnb"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:cargo-inputs #:cargo-inputs
(("rust-atty" ,rust-atty-0.2) (("rust-lazy-static" ,rust-lazy-static-1)
("rust-winapi" ,rust-winapi-0.3) ("rust-windows-sys" ,rust-windows-sys-0.48))
("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)) ("rust-rspec" ,rust-rspec-1.0.0-beta.3))))
#: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