From patchwork Wed Dec 20 03:55:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57909 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7590E27BBEA; Wed, 20 Dec 2023 04:11:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E58AF27BBE2 for ; Wed, 20 Dec 2023 04:11:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnvH-0003vZ-60; Tue, 19 Dec 2023 23:11:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFnvD-0003tP-8X for guix-patches@gnu.org; Tue, 19 Dec 2023 23:11:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFnvB-0007C5-LN for guix-patches@gnu.org; Tue, 19 Dec 2023 23:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnvE-0004v6-Jb; Tue, 19 Dec 2023 23:11:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 47/55] gnu: Add rust-enterpolation-0.2. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Dec 2023 04:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67919@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67919-submit@debbugs.gnu.org id=B67919.170304544618845 (code B ref 67919); Wed, 20 Dec 2023 04:11:04 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:10:46 +0000 Received: from localhost ([127.0.0.1]:38374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnuw-0004tt-AL for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:10:46 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:60100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnuu-0004tg-Ev for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:10:45 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rFnul-00FIr4-Ph for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:10:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=3W/DcE7wAUTooFPI3iJw8BUsDcsHcGSCtwaus8AE68M=; b=Je4FVXcicvbcsLl3Bv46VF6u/O etUw1HasxNZm3Ug2M8fwo/hzfLT7mOdDmw0beg8zfeD3KJTDAgFCOda1H12NFRjOycDVYoRBFempt tpNgtShKPorcL0idzh7U3Wir+v8kByrieIX7JFWZ+RJGai9m9rahK2ffEQ3mEyD+KHfDtCAzMqAR1 B8P/flVQgayH3wL546tU37KvwN+u9tycv4EvgESAauluDuHtXZRqGfWW59fwIrrCyJsn2kIVwtdd+ wVP2tTJwCpOZI6od6r3Z16cB29K+t6rjgD5ionNs6HqZsCchqNngfZWFTCb9ZHs65ZYLHCAeL4o4A 6MsgQ80A==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnul-0002UQ-HQ for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:10:35 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rFnud-0066Gp-Gn; Wed, 20 Dec 2023 05:10:27 +0100 Date: Tue, 19 Dec 2023 22:55:09 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 --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")