diff mbox series

[bug#67919,47/55] gnu: Add rust-enterpolation-0.2.

Message ID fcd2bbb714ed6efb6e2766b32e96fb4dcea4d513.1703044085.git.jaeme@runbox.com
State New
Headers show
Series gnu: eza: Update to 0.17.0. | expand

Commit Message

Jaeme Sifat Dec. 20, 2023, 3:55 a.m. UTC
* gnu/packages/crates-graphics.scm (rust-enterpolation-0.2): New variable.

Change-Id: I5e4ac4acf1357db36db12604fd688a5c508373c7
---
 gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index c0f876b4c5..aa5ef73759 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -737,6 +737,34 @@  (define-public rust-dcv-color-primitives-0.4
      "This package provides a library to perform image color model conversion.")
     (license license:expat-0)))
 
+(define-public rust-enterpolation-0.2
+  (package
+    (name "rust-enterpolation")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "enterpolation" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ah41msghasm0i97awa67rv3mg6p3j0xijswy1gpdipprg4gbb8z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ; circular dependency with rust-palette-0.7
+       #:cargo-inputs
+       (("rust-assert-float-eq" ,rust-assert-float-eq-1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-topology-traits" ,rust-topology-traits-0.1))))
+    (home-page "https://github.com/NicolasKlenert/enterpolation")
+    (synopsis
+     "Library for creating and computing interpolations, extrapolations and
+smoothing of generic data points")
+    (description
+     "This package provides a library for creating and computing interpolations,
+extrapolations and smoothing of generic data points.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-euclid-0.22
   (package
     (name "rust-euclid")