From patchwork Wed Dec 20 03:55:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57919 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 72D8527BBEA; Wed, 20 Dec 2023 04:13:32 +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 C7F4027BBE2 for ; Wed, 20 Dec 2023 04:13:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnxH-0004XF-Es; Tue, 19 Dec 2023 23:13:11 -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 1rFnx7-0004WI-Mu for guix-patches@gnu.org; Tue, 19 Dec 2023 23:13: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 1rFnx5-0007Ub-F1 for guix-patches@gnu.org; Tue, 19 Dec 2023 23:12:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnx8-0004zl-C9; Tue, 19 Dec 2023 23:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 51/55] gnu: Add rust-palette-0.7. 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:13:02 +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.170304552619090 (code B ref 67919); Wed, 20 Dec 2023 04:13:02 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:12:06 +0000 Received: from localhost ([127.0.0.1]:38408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnwD-0004xq-Oh for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:12:06 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:40098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnwB-0004wx-Jh for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:12:04 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rFnw2-00FQgW-UW for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:11:54 +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=mb76xCe7AQ1MMHaWPa/zmaBuDTN42hr5N6RtwgICGpk=; b=m1x4cTQ4SsOQlUXXMyzMh36+M/ 2KY8/w2nM0SQEiU5Dh/t1/VeCVA7tAThB5oo5nes5ZonUCRvpWkhr2wgEfzJujwyRQdsLtCXSB5fL ll6SkdBomH66gZMB54nzKW3u2FL07sntccLfT4ZjMmrDYmtB5TH6B3n5fRwN1Rt8kkDSQlqIVWSn9 kMaByU2FY28JXoBNpEqVQhmwWF85gj2msrTQJAW8uMbtpx9NeLDBA9AGemWrjmkRYPCktdHsoBJDD XqE8lXqXl8x3RMzI2j3/p9G5iwiNSlXLds3OyMM0FqBwLFi+PRd3b1SDuOMaSrTF2cwk4orwGkcGo lJRmI7Aw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnw2-0002Y7-La for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:11:54 +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 1rFnvt-0066Gp-E2; Wed, 20 Dec 2023 05:11:45 +0100 Date: Tue, 19 Dec 2023 22:55:13 -0500 Message-ID: <6c3be7ac9067368dba90c0887e6db5581102c9d6.1703044085.git.jaeme@runbox.com> 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-palette-0.7): New variable. Change-Id: Ia55d3b7788a04a410dacb7f53dcb2d2909f026c6 --- gnu/packages/crates-graphics.scm | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 82a76dc190..53e7ba3163 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1869,6 +1869,52 @@ (define-public rust-osmesa-sys-0.1 (description "This package provides OSMesa library bindings for Rust.") (license license:cc0))) +(define-public rust-palette-0.7 + (package + (name "rust-palette") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "palette" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p2inf23vsqy06w7vp7rcxmb9vk91asib534m9cafykn8x0z7qmj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Can't find regression tests. + #:cargo-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-fast-srgb8" ,rust-fast-srgb8-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-palette-derive" ,rust-palette-derive-0.7) + ("rust-phf" ,rust-phf-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-wide" ,rust-wide-0.7)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-3) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-enterpolation" ,rust-enterpolation-0.2) + ("rust-image" ,rust-image-0.23) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand-mt" ,rust-rand-mt-4) + ("rust-ron" ,rust-ron-0.8) + ("rust-scad" ,rust-scad-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/Ogeon/palette") + (synopsis + "Convert and manage colors with a focus on correctness, flexibility and +ease of use.") + (description + "This package provides converting and managing colors in Rust with a +focus on correctness, flexibility and ease of use.") + (license (list license:expat license:asl2.0)))) + (define-public rust-palette-derive-0.7 (package (name "rust-palette-derive")