diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:07:44 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:23 +0200 |
commit | 133fbd94c8797cc2c5e39224fab337377ef24c4c (patch) | |
tree | 13cbb668598520f5c0999ecf7cc6800793cc9dd3 | |
parent | 90fcccaf6f6366edd663d332097323997baf3a07 (diff) | |
download | guix-133fbd94c8797cc2c5e39224fab337377ef24c4c.tar.gz |
gnu: Add rust-colorous-1.
* gnu/packages/crates-graphics.scm (rust-colorous-1): New variable. Change-Id: Iecd8d526f985996e536e6d1df463efb5ae3f4532
-rw-r--r-- | gnu/packages/crates-graphics.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index d3a55d5dcd..9f65d9e2ba 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -626,6 +626,28 @@ for computer graphics.") @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") |