diff options
-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 |