aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-23 15:59:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:15 +0300
commit43d8c6b5717ee680f2ec6cd095a2335cf7854a9c (patch)
tree8d6e8ec7780b2f27f90e6aaafb353486796d3330 /gnu/packages/crates-graphics.scm
parent89fb778831206863f44cf5a70529e58cad1189d1 (diff)
downloadguix-43d8c6b5717ee680f2ec6cd095a2335cf7854a9c.tar.gz
guix-43d8c6b5717ee680f2ec6cd095a2335cf7854a9c.zip
gnu: Add rust-dcv-color-primitives-0.4.
* gnu/packages/crates-graphics.scm (rust-dcv-color-primitives-0.4): New variable.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ed18568579..739301296d 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -659,6 +659,33 @@ and iOS.")
(inputs
(list dav1d clang llvm))))
+(define-public rust-dcv-color-primitives-0.4
+ (package
+ (name "rust-dcv-color-primitives")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dcv-color-primitives" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01c0ag8dwzz00hyq9qam9d5j6yzdh8xpidcn37vgkzlmhgfz8mql"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-paste" ,rust-paste-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/aws/dcv-color-primitives")
+ (synopsis "Library to perform image color model conversion")
+ (description
+ "This package provides a library to perform image color model conversion.")
+ (license license:expat-0)))
+
(define-public rust-euclid-0.22
(package
(name "rust-euclid")