[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67919] [PATCH 51/55] gnu: Add rust-palette-0.7.
From: |
Jaeme Sifat |
Subject: |
[bug#67919] [PATCH 51/55] gnu: Add rust-palette-0.7. |
Date: |
Tue, 19 Dec 2023 22:55:13 -0500 |
* gnu/packages/crates-graphics.scm (rust-palette-0.7): New variable.
Change-Id: Ia55d3b7788a04a410dacb7f53dcb2d2909f026c6
---
gnu/packages/crates-graphics.scm | 46 ++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 82a76dc190..53e7ba3163 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1869,6 +1869,52 @@ (define-public rust-osmesa-sys-0.1
(description "This package provides OSMesa library bindings for Rust.")
(license license:cc0)))
+(define-public rust-palette-0.7
+ (package
+ (name "rust-palette")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "palette" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p2inf23vsqy06w7vp7rcxmb9vk91asib534m9cafykn8x0z7qmj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Can't find regression tests.
+ #:cargo-inputs
+ (("rust-approx" ,rust-approx-0.5)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-fast-srgb8" ,rust-fast-srgb8-1)
+ ("rust-libm" ,rust-libm-0.2)
+ ("rust-palette-derive" ,rust-palette-derive-0.7)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-wide" ,rust-wide-0.7))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-3)
+ ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-enterpolation" ,rust-enterpolation-0.2)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand-mt" ,rust-rand-mt-4)
+ ("rust-ron" ,rust-ron-0.8)
+ ("rust-scad" ,rust-scad-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/Ogeon/palette")
+ (synopsis
+ "Convert and manage colors with a focus on correctness, flexibility and
+ease of use.")
+ (description
+ "This package provides converting and managing colors in Rust with a
+focus on correctness, flexibility and ease of use.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-palette-derive-0.7
(package
(name "rust-palette-derive")
--
2.41.0
- [bug#67919] [PATCH 44/55] gnu: Add rust-rand-mt-4., (continued)
- [bug#67919] [PATCH 44/55] gnu: Add rust-rand-mt-4., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 45/55] gnu: Add rust-topology-traits-0.1., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 47/55] gnu: Add rust-enterpolation-0.2., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 43/55] gnu: Add rust-scad-1., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 42/55] gnu: Add rust-nalgebra-0.16., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 46/55] gnu: Add rust-assert-float-eq-1., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 48/55] gnu: Add rust-find-crate-0.6., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 50/55] gnu: Add rust-fast-srgb8-1., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 49/55] gnu: Add rust-palette-derive-0.7., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 52/55] gnu: rust-once-cell-1: Update to 1.19.0., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 51/55] gnu: Add rust-palette-0.7.,
Jaeme Sifat <=
- [bug#67919] [PATCH 54/55] gnu: Remove exa., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 53/55] gnu: eza: Update to 0.17.0., Jaeme Sifat, 2023/12/19
- [bug#67919] [PATCH 55/55] gnu: eza: Refactor package definition., Jaeme Sifat, 2023/12/19
- bug#67919: [PATCH 00/55 rust-team] gnu: eza: Update to 0.17.0., Efraim Flashner, 2023/12/26