diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-29 19:40:28 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:02 +0200 |
commit | ce060a383ffdc56f7ddbb97ddf5215aa718b3bee (patch) | |
tree | 019229e40c6e67ac376b8e7756a6ba7531d6d3c9 /gnu/packages | |
parent | 5d9af3a59d1504451ea9e0ad8503329a4e8930e7 (diff) | |
download | guix-ce060a383ffdc56f7ddbb97ddf5215aa718b3bee.tar.gz guix-ce060a383ffdc56f7ddbb97ddf5215aa718b3bee.zip |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 8f1c773607..ad472c3503 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -108,25 +108,33 @@ shapes, lines and text to buffers.") (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 |