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
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:00 -0500
commita657c08c05e9607c62c9ef50274194455cfd09f6 (patch)
treeeb947da3d468c0853a072b317878073c2ecde2bb /gnu/packages/crates-graphics.scm
parente94cff39bfb9fce5b897ad46b648c7dc9048c784 (diff)
downloadguix-a657c08c05e9607c62c9ef50274194455cfd09f6.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")