From a657c08c05e9607c62c9ef50274194455cfd09f6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 3 Dec 2021 23:09:59 +0100 Subject: [PATCH] gnu: Add rust-dcv-color-primitives-0.1. * gnu/packages/crates-graphics.scm (rust-dcv-color-primitives-0.1): New variable. --- gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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")