mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 09:22:05 -05: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 @@ (define-public rust-andrew-0.2
|
|||
(define-public rust-ansi-colours-1
|
||||
(package
|
||||
(name "rust-ansi-colours")
|
||||
(version "1.1.1")
|
||||
(version "1.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ansi_colours" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"03b2365y0ffkvqw61bc4imz6661jvi39vcs4q6q5d43znqrq4rrj"))))
|
||||
(base32 "104aj4fi8nxdb9c5ahpwn53afmfcdzmwi3k9rawl3lvm42ymh5ba"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin (substitute* "Cargo.toml"
|
||||
(((string-append ">= ([[:digit:]]+\\.[[:digit:]]+),"
|
||||
" <= ([[:digit:]]+\\.[[:digit:]]+)")
|
||||
_ version _)
|
||||
(string-append ">=" version)))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#: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
|
||||
(("rust-crc64" ,rust-crc64-1)
|
||||
("rust-criterion" ,rust-criterion-0.3)
|
||||
(("rust-crc64" ,rust-crc64-2)
|
||||
("rust-criterion" ,rust-criterion-0.5)
|
||||
("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")
|
||||
(synopsis "Palette converter between true-colour and ANSI terminal")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue