summary refs log tree commit diff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 23:09:59 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:52:40 +0100
commit6fd4767c9cbfaa04af94c79fbce321398975ea52 (patch)
treed9ab47390ec097793399c8781102e5484d697012 /gnu/packages/crates-graphics.scm
parent9687b1fb357505f78acdf407aa03aa565bc2b5cc (diff)
downloadguix-6fd4767c9cbfaa04af94c79fbce321398975ea52.tar.gz
gnu: Add rust-dcv-color-primitives-0.1.
* gnu/packages/crates-graphics.scm (rust-dcv-color-primitives-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4e1c61e300..3fb92a29a1 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -597,6 +597,28 @@ and iOS.")
     (description "This package provides FFI bindings to dav1d.")
     (license license:expat)))
 
+(define-public rust-dcv-color-primitives-0.1
+  (package
+    (name "rust-dcv-color-primitives")
+    (version "0.1.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dcv-color-primitives" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yrm1qipdmadynhjgz1bvdh42ph9azvwg8v43c8ywr8vlx9qvaq2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+    (home-page "https://github.com/aws/dcv-color-primitives")
+    (synopsis "Rust library to perform image color model conversion")
+    (description "This package is a Rust library to perform image color model
+conversion.")
+    (license license:expat)))
+
 (define-public rust-euclid-0.20
   (package
     (name "rust-euclid")