summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-28 11:51:38 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-28 11:51:38 +0100
commit5ceb2a431d18e8dfadb0dfcb8c35c220783627f1 (patch)
tree6d83380871a703ec724f6ab6cd4260825066f9a4 /gnu
parent6244fb1741805f86a2434a4a6cabb29bfa0b624e (diff)
downloadguix-5ceb2a431d18e8dfadb0dfcb8c35c220783627f1.tar.gz
gnu: Add rust-empfindung-0.2.
* gnu/packages/crates-io.scm (rust-empfindung-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8cfc316115..d3bfcae33d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19489,6 +19489,30 @@ inclusion of Windows resources in the most resilient fashion imaginable.")
 embedded systems.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-empfindung-0.2
+  (package
+    (name "rust-empfindung")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "empfindung" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h68h3sxsa79a47jag3yim5jm63ffz72ifj46xkn12j2s5nss85l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lab" ,rust-lab-0.11)
+        ("rust-rgb" ,rust-rgb-0.8))))
+    (home-page "https://github.com/mina86/empfindung")
+    (synopsis "Rust implementation of the CIEDE2000 colour difference")
+    (description
+     "Empfindung is a pure-Rust implementation of the CIEDE2000 colour
+difference.")
+    (license license:expat)))
+
 (define-public rust-ena-0.14
   (package
     (name "rust-ena")