gnu: Add rust-enterpolation-0.2.

* gnu/packages/crates-graphics.scm (rust-enterpolation-0.2): New variable.

Change-Id: I5e4ac4acf1357db36db12604fd688a5c508373c7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jaeme Sifat 2023-12-19 22:55:09 -05:00 committed by Efraim Flashner
parent ac2172fc5d
commit 0c51b25bd1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -787,6 +787,35 @@ (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
`(#:tests? #f ; Not all files included.
#: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))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
("rust-image" ,rust-image-0.24)
("rust-palette" ,rust-palette-0.7))))
(home-page "https://github.com/NicolasKlenert/enterpolation")
(synopsis "Library for create and compute interpolations and extrapolations")
(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")