gnu: Add rust-colorous-1.

* gnu/packages/crates-graphics.scm (rust-colorous-1): New variable.

Change-Id: Iecd8d526f985996e536e6d1df463efb5ae3f4532
This commit is contained in:
Efraim Flashner 2024-01-04 12:07:44 +02:00
parent 90fcccaf6f
commit 133fbd94c8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -626,6 +626,28 @@ (define-public rust-color-to-tui-0.2
@code{ratatui::style::Colors}.")
(license license:expat)))
(define-public rust-colorous-1
(package
(name "rust-colorous")
(version "1.0.12")
(source
(origin
(method url-fetch)
(uri (crate-uri "colorous" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1crqxkhpvwjcnjggp2qjs2mzyd1xrv3drgqq4bzlhi9ggj687c3y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs (("rust-dejavu" ,rust-dejavu-2)
("rust-image" ,rust-image-0.24)
("rust-imageproc" ,rust-imageproc-0.23)
("rust-rusttype" ,rust-rusttype-0.9))))
(home-page "https://github.com/dtolnay/colorous")
(synopsis "Professional color schemes ported from d3-scale-chromatic")
(description "Professional color schemes ported from d3-scale-chromatic.")
(license license:asl2.0)))
(define-public rust-core-graphics-0.23
(package
(name "rust-core-graphics")