mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 19:09:27 +01:00
gnu: rust-ansi-colours-1: Update to 1.2.2.
* gnu/packages/crates-graphics.scm (rust-ansi-colours-1): Update to 1.2.2. [source]: Add snippet to allow newer versions of dependencies. [cargo-inputs]: Add rust-ansi-term-0.12, rust-termcolor-1. [cargo-development-inputs]: Add rust-rgb-0.8. Replace rust-crc64-1 with 2, rust-criterion-0.3 with 0.5. Change-Id: I84885584556a5963a49e8229f8530e0a060f4a86 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
5d9af3a59d
commit
ce060a383f
1 changed files with 17 additions and 9 deletions
|
@ -108,25 +108,33 @@ shapes, lines and text to buffers.")
|
||||||
(define-public rust-ansi-colours-1
|
(define-public rust-ansi-colours-1
|
||||||
(package
|
(package
|
||||||
(name "rust-ansi-colours")
|
(name "rust-ansi-colours")
|
||||||
(version "1.1.1")
|
(version "1.2.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "ansi_colours" version))
|
(uri (crate-uri "ansi_colours" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "104aj4fi8nxdb9c5ahpwn53afmfcdzmwi3k9rawl3lvm42ymh5ba"))
|
||||||
"03b2365y0ffkvqw61bc4imz6661jvi39vcs4q6q5d43znqrq4rrj"))))
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (substitute* "Cargo.toml"
|
||||||
|
(((string-append ">= ([[:digit:]]+\\.[[:digit:]]+),"
|
||||||
|
" <= ([[:digit:]]+\\.[[:digit:]]+)")
|
||||||
|
_ version _)
|
||||||
|
(string-append ">=" version)))))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-rgb" ,rust-rgb-0.8))
|
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||||
|
("rust-rgb" ,rust-rgb-0.8)
|
||||||
|
("rust-termcolor" ,rust-termcolor-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-crc64" ,rust-crc64-1)
|
(("rust-crc64" ,rust-crc64-2)
|
||||||
("rust-criterion" ,rust-criterion-0.3)
|
("rust-criterion" ,rust-criterion-0.5)
|
||||||
("rust-empfindung" ,rust-empfindung-0.2)
|
("rust-empfindung" ,rust-empfindung-0.2)
|
||||||
("rust-lab" ,rust-lab-0.11))))
|
("rust-lab" ,rust-lab-0.11)
|
||||||
|
("rust-rgb" ,rust-rgb-0.8))))
|
||||||
(home-page "https://github.com/mina86/ansi_colours")
|
(home-page "https://github.com/mina86/ansi_colours")
|
||||||
(synopsis "Palette converter between true-colour and ANSI terminal")
|
(synopsis "Palette converter between true-colour and ANSI terminal")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Reference in a new issue