gnu: Add rust-delta-e-0.2.
authorGabriel Arazas <foo.dogsquared@gmail.com>
Tue, 15 Sep 2020 08:36:27 +0000 (16:36 +0800)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 16 Sep 2020 06:43:17 +0000 (09:43 +0300)
* gnu/packages/crates-io.scm (rust-delta-e-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/crates-io.scm

index eee1432..80c46ed 100644 (file)
@@ -5445,6 +5445,29 @@ and arithmetic.")
          (base32
           "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
 
+(define-public rust-delta-e-0.2
+  (package
+    (name "rust-delta-e")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "delta_e" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "18rxibmi27ark8vj367qm2iqmv5x293l8fm9ang4y2sv3l251sf5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-lab" ,rust-lab-0.7))))
+    (home-page "https://github.com/elliotekj/DeltaE")
+    (synopsis "Pure Rust implementation of the CIEDE2000 algorithm")
+    (description "DeltaE is a pure-Rust implementation of the
+@url{http://en.wikipedia.org/wiki/Color_difference#CIEDE2000, CIEDE2000}
+algorithm which serves to quantify the difference between two colors.")
+    (license license:expat)))
+
 (define-public rust-demo-hack-0.0
   (package
     (name "rust-demo-hack")