From patchwork Mon Sep 9 10:07:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67808 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 5E93727BBEA; Mon, 9 Sep 2024 11:11:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 1B75C27BBE2 for ; Mon, 9 Sep 2024 11:11:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLP-0004qj-5V; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLL-0004os-JV for guix-patches@gnu.org; Mon, 09 Sep 2024 06:09:59 -0400 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 1snbLL-0000Ah-AU for guix-patches@gnu.org; Mon, 09 Sep 2024 06:09:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Xkx3ACMS0FrLP6ElwqRGkp3SxATQG/B+D4cNePOtHpE=; b=Pd++62y9wwimEfHFkb2rdpKZza+ASk0UkVJVFwKdHZiPPKp+/YtRNnrDMwFlto/wd1FoAK4/fFsNQ61z4iGBEHpEB7DFnintW6ROMJUhxZo/nse3WAOZmb7CAFaQoEiLPo6mhv7pmsMfHgOVpqu9pElrC+fwWZ4df1QA/YGBJqM6nM+dwOg/mp059+GapRNATqVon4y+/7FY2E0R2yAATlnI8I9MS5iaaxRdRgO5JqZ0VLw404b0Pv5qMPfVmozAJxd1KgYVknCvYHY7kWAhhaqZxtNlOvha3vcmiEKLd6/4JNJXOBwVgIYwUEeJ4zoDqTKausPiboDC5VD+pYQdSw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLO-0003Rc-MB for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 01/10] gnu: rust-darling-core-0.20: Update to 0.20.8. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655013059 (code B ref 73094); Mon, 09 Sep 2024 10:10:02 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:10 +0000 Received: from localhost ([127.0.0.1]:60677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKX-0003OY-Vf for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:10 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKU-0003NV-HC for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xkx3ACMS0FrLP6ElwqRGkp3SxATQG/B+D4cNePOtHpE=; b=lEB5jALIALcK0lZaGSg1ccbMRZldk34phY/iqRMVnLFaHkqDKiHptPKvaKNF8yAMh9GDWF ycQ0YiZUznBeuorGw6wa5VRoMekiYZjvq6add82obcwzuo+5VicFBfwLKfadPn/mFRD3XB UVyaS81PeXXzL7w6w/kToGfSZf0QtStaIA9STg4sBSHxYA0QjY83E/iLpp80YDpmRUtCZz av2D9hLq4k9HkgYjPkEnrPFxF3NNSNQSbm3RCz0bD++p0CSCjraf6lB/qzSuTVEsPZEBw2 C8JhHLJ7ksCZ2B1PLAum9mL6LK2tGbdxweALyUxqk08ivhbdSSNsDpc35QpP6Q== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id a0db15aa (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:54 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:54 +0200 Message-ID: <20240909100804.13552-2-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-darling-core-0.20): Update to 0.20.8. [arguments]<#:skip-build?>: Set to #f. Change-Id: I7cef57f0aea51665e5c15843764be2304601f2a5 --- gnu/packages/crates-io.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a6eda94596..03fda06488 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19169,7 +19169,7 @@ (define-public rust-darling-0.9 (define-public rust-darling-core-0.20 (package (name "rust-darling-core") - (version "0.20.3") + (version "0.20.8") (source (origin (method url-fetch) @@ -19177,11 +19177,10 @@ (define-public rust-darling-core-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08g6afi3z9jgcqx7g41s1mzr6q3dj2z56vz7v1bv6941h51k8zhp")))) + "03x7s149p06xfwcq0lgkk4yxh6jf7jckny18nzp1yyk87b1g2b4w")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-fnv" ,rust-fnv-1) ("rust-ident-case" ,rust-ident-case-1) ("rust-proc-macro2" ,rust-proc-macro2-1) From patchwork Mon Sep 9 10:07:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67804 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 36CF727BBEA; Mon, 9 Sep 2024 11:11:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 DAE6E27BBE2 for ; Mon, 9 Sep 2024 11:11:02 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLP-0004qy-El; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLM-0004p7-2g for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:00 -0400 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 1snbLL-0000As-Pq for guix-patches@gnu.org; Mon, 09 Sep 2024 06:09:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=i8ag7UAaJUJ9BJVkap3ILtN97phEACCjaFhA8pRZFWs=; b=OUlnhAtAsyy7YehwCpk1N8EHpd+tyH+AEKvJzn4aMo2pHE5P/2sB8PrfyWb61m5S/PcqhaYPhz4vMHxvvqbDDobbsEIvWyKQluug5meWCVZtLSTJnQP9mKgw2a/PHsnyiVfnCs6b93Qk2uDwZ3jTEFD8MxkE7w3n6WwuDt0NntJcUxVJ7hn+SM21exFqBuLly1wc71JwnoITWsSBCBwcpuZl4ZGPKadpyzPz2/Y0A1AsCB2ZO9LAtqwpeTBdJj9b9STI+c/mm110rYbkimumrnzmlkKnly69yu4G/KyZRj129B138pE6AEVJ58IAjKatkZddlAmHcnDyeeedPHZD/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLP-0003Rj-5P for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 02/10] gnu: rust-darling-macro-0.20: Update to 0.20.8. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655113068 (code B ref 73094); Mon, 09 Sep 2024 10:10:03 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:11 +0000 Received: from localhost ([127.0.0.1]:60679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKY-0003Oa-9m for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:10 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKV-0003NV-S1 for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i8ag7UAaJUJ9BJVkap3ILtN97phEACCjaFhA8pRZFWs=; b=pIhA7a32yBfvYtDlaA+1fHuC+cFtBRJwkJYop8UhVSlJe4UY6hcWaU/tHaPmjufSjXpqbA NOzUyQolfsM71WC8ovJRon8S0KgCmWmFw3wMHs0dcNwoK9D53mpUMJzXecBVy7q7aAd2cv r9gzUdc/N+34jVIaTvuGIjQjE0pZOuumArzf57eifOQzoYLB4oBGRjCuLGHwXgHCOg3rMT CaxudY7VUs46md+uoA3FuRoPSaK/1FvXs+sfq4bezP02vIyNLIO5TDlp6zocr+wIXNNXs9 UbmxDEoiT9p9OL9VbGieswXrKaBt7KdK+GYpZsF4flt1LDINmAs4k7oPAenCPg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id cf153ae5 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:55 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:55 +0200 Message-ID: <20240909100804.13552-3-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-darling-macro-0.20): Update to 0.20.8. [origin](uri): Rename to darling_macro. [arguments]<#:skip-build?>: Set to #f. Change-Id: Ic46f41b26e5fa918f222256b1c6047cfe0dba790 --- gnu/packages/crates-io.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 03fda06488..38aebaac08 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19299,19 +19299,18 @@ (define-public rust-darling-core-0.9 (define-public rust-darling-macro-0.20 (package (name "rust-darling-macro") - (version "0.20.3") + (version "0.20.8") (source (origin (method url-fetch) - (uri (crate-uri "darling-macro" version)) + (uri (crate-uri "darling_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mg2k1f0v33s271lpn4m5mxcfjqnmg61bf77svb44cyngay9nsl3")))) + "0gwkz0cjfy3fgcc1zmm7azzhj5qpja34s0cklcria4l38sjyss56")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.20) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) From patchwork Mon Sep 9 10:07:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67805 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 9FB2D27BBEA; Mon, 9 Sep 2024 11:11:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 5C3EB27BBE2 for ; Mon, 9 Sep 2024 11:11:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLY-0004yE-CH; Mon, 09 Sep 2024 06:10:12 -0400 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 1snbLN-0004pE-3P for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 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 1snbLM-0000Ay-6G for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=0+ib2W+BeD+4mpMR8oq0dIoZjty2KaWLLGy2DRv4zfg=; b=qeI/XorbFklXLSzjlinazuMo01iCD5pRLQv6ECRD8Rrea6oppdawJx00/p3z217wOM6h0BHjgVNAF6vBovLHDxZMG5sN1aTnfFTCTIi0c/zp3xxQOkTP2mpvdRXsfJA1pAWFpizw5j0Z8JfMJqmLVXRuPjBu8h6xf4juJw+hMxHK57sRtwS7M5swr07dYCA8PWLiKP0GMD5S6SAsOAcQcGNeoZUywGfeuVJrN7t4t6SaespdwybpaXOjqGWFA853Z0IEcj/rANxkhUHJOIXvU9lJiY/cn520zzFNlqCsFWGeoTxZ+05BwETddRsb3YYb+GQl3Ir++hjhVN2E/O7CMQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLP-0003Rr-II for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 03/10] gnu: rust-darling-0.20: Update to 0.20.8. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655113086 (code B ref 73094); Mon, 09 Sep 2024 10:10:03 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:11 +0000 Received: from localhost ([127.0.0.1]:60683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKY-0003Oj-Qk for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:11 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKW-0003NV-IT for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0+ib2W+BeD+4mpMR8oq0dIoZjty2KaWLLGy2DRv4zfg=; b=CRY/G5t9DWjWNBR0XHxvTtmArdBrH3o2B69PFtE87dkohnNBbdheEMau8uXHDiTD/jeuJ9 XKGvhUbQYxq4gjThgP+48JjcVIecK/iQGibZ1yeFPNOfKYlcQt7FuiGUHoBF5RAcVrH0a1 oI6ayE0wPgFbsU+K1k5xQ6YOQiVSJ4vpJ9LpJTsJv6qHe9Qkqk9mBHxYcwQFD/s8x7vLeF oUGCa7yLEo5Ltki/VRp7mBpkjqcBXFl08psR7BdKRX/eONYv0NysAQbRmfvzBkC35VbVwx JF6IzX+XBobKKsqiqDWZA6c4XEZJ11JrO9APZDnY9hS5CHKpQX2xW6G+f/N5Bg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ffc89e72 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:55 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:56 +0200 Message-ID: <20240909100804.13552-4-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-darling-0.20): Update to 0.20.8. [arguments]<#:cargo-development-inputs>: Add rust-proc-macro2, rust-quote, rust-rustversion, rust-syn, rust-trybuild. Change-Id: Ib6569c26d6d74518a7069c1a5b89b60b67b8a152 --- gnu/packages/crates-io.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38aebaac08..38494dad3e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19032,7 +19032,7 @@ (define-public rust-daemonize-0.4 (define-public rust-darling-0.20 (package (name "rust-darling") - (version "0.20.3") + (version "0.20.8") (source (origin (method url-fetch) @@ -19040,10 +19040,15 @@ (define-public rust-darling-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pjwwadwgnvvgn5qm3glpv7hjl7siaqqpw6cvh2mdar7lr6xj282")))) + "14a38qsi9104kvk1z11rqj0bnz1866dyhnvgvbgzz17d2g6nzqsl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-development-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-2) + ("rust-trybuild" ,rust-trybuild-1)) #:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.20) ("rust-darling-macro" ,rust-darling-macro-0.20)))) From patchwork Mon Sep 9 10:07:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67807 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 E5B4327BBEA; Mon, 9 Sep 2024 11:11:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, TVD_SPACE_RATIO,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 7070227BBE2 for ; Mon, 9 Sep 2024 11:11:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLP-0004r2-OS; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLN-0004pF-42 for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 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 1snbLM-0000Az-K5 for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=dwlwR/V3c+tyFPm5UiA2d+E40yYj0iE3PX6BA2Iskvg=; b=vsZtnS5vg4rtRz9ENlZJw88GubAic/Dus+H5T9SFQVwI4HsUaYOE4yZM+qPPL/WvyQ96wnttSiLpja0BeLpK8/ZedI11FYxACvpRJL5V+WaAubCVVX6b/ujVIyfY2Lyu6CrTcTZq3CZZvmPZWlsb4XPcmsqWf402TqYQF/cFRgY9IieR/AyCtgCruGIm2oCDfLnRHRmF8R5/Ny966vOGV49neo/kM35zTbHicaF169n3q/ppON6cbjtOwsWUn+3grGt3BMbrmE68aeCnY99ac2UGaqeWRriH+hVHEqQhoLMYidBjuWUpFM+XRp7QAIonMWpBM8YYqihf3vlAptAF8w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLP-0003Ry-VE for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 04/10] gnu: Add rust-derive-builder-core-0.20. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655613120 (code B ref 73094); Mon, 09 Sep 2024 10:10:03 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:16 +0000 Received: from localhost ([127.0.0.1]:60689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKd-0003PX-Go for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:15 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKX-0003NV-Ai for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dwlwR/V3c+tyFPm5UiA2d+E40yYj0iE3PX6BA2Iskvg=; b=JalCiHbeNFjpxTUf8WEq6ViHs352vHV1PLcx3zqET/0wSTVujn5hUh/GtYsxubjKIy2vWW l8wAdKUeLpJ/yu0n9M4qnlS3YL30HbVjDcEgJWeJN67KvI9LTnFzFCt8vflukihFHJJzqB csO7WAlAOv91YMFRbjVtzioJ798KtPm0cA3c/gZxhr/suspa28bB/AbWrdfILlXKlY/xxi tsJsckfmKCvoOL7BuWTTU25JwLElckG4DZs7O2JDkPdLP6QvcFlOSpesm67GJUrFHNnIrh fCxSOYutnB2IwOztHuqaTeg9a2Qhe4tHK9GisipMmhbgytvBb1OKNciEtPFbyQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id a2fcc5b4 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:56 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:57 +0200 Message-ID: <20240909100804.13552-5-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-derive-builder-core-0.20): New variable. (rust-derive-builder-core-0.13): Inherit from rust-derive-builder-core-0.20. Change-Id: I3a6ee4eaf1ddc00aa8e131bdc59f11d8ad54208c --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38494dad3e..8acf6c007d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20569,8 +20569,34 @@ (define-public rust-derive-builder-0.7 ("rust-skeptic" ,rust-skeptic-0.13) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-builder-core-0.20 + (package + (name "rust-derive-builder-core") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f5fg9cc9y53fx1fm4bh0s1yxwvc7v1zsircy8s054hkjq2glcbl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Internal helper library for @code{rust-derive-builder}") + (description + "Internal helper library for @code{rust-derive-builder}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-core-0.13 (package + (inherit rust-derive-builder-core-0.20) (name "rust-derive-builder-core") (version "0.13.1") (source (origin @@ -20580,19 +20606,13 @@ (define-public rust-derive-builder-core-0.13 (sha256 (base32 "1381dgjq6jhirww088dff8b00v2d99illvnan0l0kvz7qdy33v54")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-darling" ,rust-darling-0.14) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Internal helper library for @code{rust-derive-builder}") - (description - "Internal helper library for @code{rust-derive-builder}.") - (license (list license:expat license:asl2.0)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-derive-builder-core-0.12 (package From patchwork Mon Sep 9 10:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67799 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 8773327BBEA; Mon, 9 Sep 2024 11:10:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 47B8027BBE2 for ; Mon, 9 Sep 2024 11:10:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLS-0004sr-Lt; Mon, 09 Sep 2024 06:10:07 -0400 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 1snbLN-0004pJ-HL for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 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 1snbLN-0000B7-1w for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=2l2jEZh+smyC+mHKxbyVUlFyDf4F9m8mWqDYBBgdjqQ=; b=LVDhbcfpeshOBz8ZY16kSL44LHXvyRGISntAOm9cYE7+AtXzRiFwyrFAQZ/Smt+5n7MmzR3BRUsNmFhKrMRz46iBUxUhOtBmOtGTAmjHpaB1nKfDpXKNMpYrdOPvgBalnIqJbhldJp/F8zjZx/lATrYRcT3xZR+GyTpkIto5qSK1Yc9hd0onfNwIizPLGIQ7ACXxtrtFK4yEqdmvdtstmuJIZ/3gtbO+9tOgUe6gfCuhS+p+XnCeBziDs9ZcZspYssR8c4m+Bg3XgX6RjI5HdYVlTpdFo9gEx0hDACO6RhSAHETFqoGSE9zn5u19glW3g8+YzvK4q2JYdIlYwYIeSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLQ-0003S5-Dg for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 05/10] gnu: Add rust-derive-builder-macro-0.20. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655613127 (code B ref 73094); Mon, 09 Sep 2024 10:10:04 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:16 +0000 Received: from localhost ([127.0.0.1]:60691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKd-0003PZ-TM for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:16 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKY-0003NV-4N for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2l2jEZh+smyC+mHKxbyVUlFyDf4F9m8mWqDYBBgdjqQ=; b=MEvIgRFkPt747XHFcbEISopr9IfNlp+SGipoyBEDDH0hOOaTQ4AblpG/742yvr0OhQoJGi 3P7nfzW97jWctpQ7RKkMZOyiohkkwFwXzLUM3ilbGfE9wy7T1ar9q/9ugfAz2Ei9Av/SDS XNBga3t/IegD9/CUSQqB+Sp677d5267NBDA98hAF6AzHpdjD3co+9Imchf0UInZTweCxn2 /4NfHLd/HmcU0UjYU8z1WPoyI7utURrjRClBNpRqc9v49zg4h9qxbXAT9pp0yRJDwjrlS7 jK/TR0sN6SMK+KDofYF0cHabnp4nWqMdG1lTC/8kuVypJbVuwLlMglNKxNhYeA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d6b5da31 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:56 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:58 +0200 Message-ID: <20240909100804.13552-6-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-derive-builder-macro-0.20): New variable. (rust-derive-builder-macro-0.13): Inherit from rust-derive-builder-macro-0.20. Change-Id: I7d39f3638c233c61f3ee29a2d107cc0e154a0246 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8acf6c007d..42b8886f3f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20722,8 +20722,31 @@ (define-public rust-derive-builder-core-0.5 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-builder-macro-0.20 + (package + (name "rust-derive-builder-macro") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p2ijj442j30cvd1x5231jw8b4klyf65sl3rnxvri6zpbc1ygfja")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.20) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Automatically implement the builder pattern for arbitrary structs") + (description + "This crate provides a Rust macro to automatically implement the builder +pattern for arbitrary structs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-macro-0.13 (package + (inherit rust-derive-builder-macro-0.20) (name "rust-derive-builder-macro") (version "0.13.1") (source (origin @@ -20733,16 +20756,9 @@ (define-public rust-derive-builder-macro-0.13 (sha256 (base32 "09q17rzgf8bsj8n1bhlf4f93nmqg8va6321ppcd07f1mzg1nh0w7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.13) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Automatically implement the builder pattern for arbitrary structs") - (description - "This crate provides a Rust macro to automatically implement the builder -pattern for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-builder-macro-0.12 (package From patchwork Mon Sep 9 10:07:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67806 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 DB0E027BBEA; Mon, 9 Sep 2024 11:11:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 945A327BBE2 for ; Mon, 9 Sep 2024 11:11:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLa-0004yF-Gc; Mon, 09 Sep 2024 06:10:14 -0400 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 1snbLN-0004pS-PF for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 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 1snbLN-0000BF-FP for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=hZjz+jKEGWR38HeV7fhcOj6OGsIhH5eXabLwLyswYCg=; b=uHMBMgTDhlX0DGgOdK3k1QVJER0b8K3n0F3mp5h8OA493T921coSspYXRTxDP3Gk4Z+tHyB2VsBbczcIOTyc9IgEByQjKoR1YbrpPk2SWpPFezqTc4CesFED0k00y2I3erYegMGSFrxRs/Shai7MHBnM2SJb5eKtLE72xKFAvSkLJcQx7WuxNSvQ6KXktVZP2Qda4sIbljnTw/eeu01TmHrf57oCe3giQa8jIVTg+yEHwKq+MOkfEgCb9nTzmuqV5oqNVYPtbNOr4cnYyipj8H1Zlwwcb+FmvYKBwBK7I67OXwdBlYzSJzvqE20iTQKDNP3Y3jmpbss0q44iWHL+YQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLQ-0003SD-RG for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 06/10] gnu: Add rust-derive-builder-0.20. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655613135 (code B ref 73094); Mon, 09 Sep 2024 10:10:04 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:16 +0000 Received: from localhost ([127.0.0.1]:60693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKe-0003Pg-8J for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:16 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:45303 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKY-0003Nt-Aq for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hZjz+jKEGWR38HeV7fhcOj6OGsIhH5eXabLwLyswYCg=; b=VN0MRduxVdofwwQP2/UF97qW0ar7obI9KbQm3lsD6f0EZRqg1d0rfuVkS8YfwB0ty6t5wp E5Lc/yvII4j/4k7UKThyAgvSbSCXvdlbfhkcfuuDOoSty0Bt2hB5kmNxMXHH6SJbsibTZX aKTIfoednGqaPqqbqqQVkv5DMMdIEFkTbOWEXYc4ZzRbrEx4n/38mdmWCppAAgAw+DuT3f 8BjMl+aLGKN8AnTZy0rdNEtAS79Q5tFQ6EgOI2OMIBbfn9lBsnUYyoKb+r/5Am2nHOB7Pi 5fpBEA7dx71vsIIwRnPmxvn2HT0tvtvlgUGhCbanzB4AOxvLx1u5yP4m7cVenw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id db553b09 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:56 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:59 +0200 Message-ID: <20240909100804.13552-7-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-derive-builder-0.20): New variable. (rust-derive-builder-0.13): Inherit form rust-derive-builder-0.20. Change-Id: I8d237c591872fd01605cdf73d19bc085b4a7ea6f --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 42b8886f3f..9b276578b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20433,21 +20433,21 @@ (define-public rust-derive-arbitrary-0.4 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-derive-builder-0.13 +(define-public rust-derive-builder-0.20 (package (name "rust-derive-builder") - (version "0.13.1") + (version "0.20.1") (source (origin (method url-fetch) (uri (crate-uri "derive_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg")))) + "0yw7frfcgza5rm7f1ckrsy1qy0i6gim3blw12xm186d1wrzg6cyd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13)) + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.20)) #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) ("rust-rustversion" ,rust-rustversion-1) @@ -20460,6 +20460,28 @@ (define-public rust-derive-builder-0.13 for arbitrary structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-0.13 + (package + (inherit rust-derive-builder-0.20) + (name "rust-derive-builder") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg")))) + (arguments + `(#:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-derive-builder-0.12 (package (inherit rust-derive-builder-0.13) From patchwork Mon Sep 9 10:08:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67801 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 4DA4927BBEC; Mon, 9 Sep 2024 11:10:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 EC11527BBE2 for ; Mon, 9 Sep 2024 11:10:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLT-0004uW-Lf; Mon, 09 Sep 2024 06:10:07 -0400 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 1snbLO-0004qJ-K3 for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:02 -0400 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 1snbLN-0000Bc-Sg for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/Qqp6pnGJeElVH5J6MUkoqsJIYmG8MxG6d+l3WHoxAw=; b=mDCzdUeYOZhxYYj5qU24QpDQEZofXb36G0J2XUutvqk9EhSAd4j/TsOuodEZpNCR9TjGpmtUYO1SvgH2oNaGTlErW7BKO/L7tCe6XaIj8U4a1PtYuTXtrVGNaPc/edrbaahB219em2YKBDOrKs/wUdu8GIrWsFZpe9wQwU4pUNQ2GG0XTZ0hxqW5cWxVxMrzImzmjAenmhqjUaayE7CYRhbuXfl4zVV+8xDnsek7UZD6eD10uthWY+CJuE8UjFXTYRDjl4OtCf5Y+1wytlElrpyLkLBDhnViICpTItIlD/DbYq+zFeat8SmMYPeuoemJmqhI+K1jlmzh6s9R9ff9xw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLR-0003SM-8H for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 07/10] gnu: Add rust-unicode-normalization-alignments-0.1. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655713141 (code B ref 73094); Mon, 09 Sep 2024 10:10:05 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:17 +0000 Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKe-0003Po-LB for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:17 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKZ-0003NV-D1 for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Qqp6pnGJeElVH5J6MUkoqsJIYmG8MxG6d+l3WHoxAw=; b=YEQNz8Neg8rexFEnIPrQ5n32YQ/N8JyUr0eYC2GFMfVSROAcisGt5MPzKgGcbuP19Zy4RX JqUuqX7ZjsaHST7mrKKJNCoWMF6HlCt7wEMiIW0Apk0J8kjGQo9JwPYCJuDOAe6g6eDoGW zlEpAaAksAnn6ejINfVOSxAnhHmg68vTfVWAsErDviWTWhz0n9gMzE5YF/TEasGgO6GfFz 2s+N1WD9TXONMY80oU1r8v50u6vSoXl3c78PEScysB5aNdlpnyti4/O62RuDYB1bZ7JRyx fbQjozy00hg3ufx4QHyIXKsWPeXyP1XG3g7/v2IyavKSh+6/9EoyrntybcRNuQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 7748a6f5 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:56 +0000 (UTC) Date: Mon, 9 Sep 2024 12:08:00 +0200 Message-ID: <20240909100804.13552-8-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-unicode-normalization-alignments-0.1): New variable. Change-Id: I338fd9a00affd1d83ace8356b6276fda476a68c8 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b276578b6..2eb9f546b4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -86128,6 +86128,28 @@ (define-public rust-unicode-normalization-0.1 described in Unicode Standard Annex #15.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-normalization-alignments-0.1 + (package + (name "rust-unicode-normalization-alignments") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-normalization-alignments" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pk2f3arh3qvdsmrsiri0gr5y5vqpk2gv1yjin0njvh4zbj17xj3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/n1t0/unicode-normalization") + (synopsis "Normalize Unicode strings ") + (description + "This crate provides functions for normalization of Unicode strings, including +Canonical and Compatible Decomposition and Recomposition, as described in +Unicode Standard Annex #15.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-reverse-1 (package (name "rust-unicode-reverse") From patchwork Mon Sep 9 10:08:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67802 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 3DF8827BBEA; Mon, 9 Sep 2024 11:10:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 F201027BBE2 for ; Mon, 9 Sep 2024 11:10:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLU-0004vC-29; Mon, 09 Sep 2024 06:10:08 -0400 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 1snbLO-0004qd-U9 for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLO-0000CD-Ax for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=e8rG5vOc87mVbp+E9b1sjSGrR7mSj6mBO3hJqisu08w=; b=B/GG6QfzubHr1spHJ1zWrXYBAUXWXRrSnqj9T30XbDPP1s6BefokSf8VcH0vnwnVp0tw7H95NgDNt882lL6252WR2R6zD51nLDshVKieScDe/LC3EjJB6kJ2Wfg/G8SB1x5qnczm7V/bNVTItfjBxNJPV80ntPCfjyhl0Bh3YMArjAk27ae8YANJ4BPe+fzUwtLg+NOjHHQM76MB/RQgOFsAYCj2nN+k7k/BgEla0Xw/ENaNW1fxoDZcSnddv1Kts7bwOXdm5FWtdJCid0z+tf+fEzpJARwgHmfr8VnQVsAxHDNZq2do9z/cgyz6kVjVySLFpfXGXccC43+3zJCDNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLR-0003SU-M8 for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 08/10] gnu: Add rust-rayon-cond-0.3. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655713149 (code B ref 73094); Mon, 09 Sep 2024 10:10:05 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:17 +0000 Received: from localhost ([127.0.0.1]:60697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKf-0003Pz-3V for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:17 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:45303 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKZ-0003Nt-NZ for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e8rG5vOc87mVbp+E9b1sjSGrR7mSj6mBO3hJqisu08w=; b=qeAB1rgaKPhiEkj4lUUAaNRKvY566++0fvxFzHkOrbNa7UObeFdhzJHlZbc7tGcpbxtyjb SZZE6s3DB0yqSfGaOpJpaAkT2DHcPCu3FlV3TJOu+tYs1L8klmvXI9PcFuHBlRVQM+aQpa Ot7dRqNpQ1sxbmYele/1jbZdo/tgekHKhX7l64KPv3RhWSf7KJQkbP5ZpL8mpOXV1DvAf0 sCcaJcml4cPol1nlIMRTQkEDigNFTAi+u+zAr4tuJxO4+swy3wkSOoLap27EQVQtrGmQ7o ck3kHPT84t05Bxx5OrPkyoMzyq87PS+gE5K/QxNdfwzivJis+PSnRziiASQLCQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id e1e772fa (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:57 +0000 (UTC) Date: Mon, 9 Sep 2024 12:08:01 +0200 Message-ID: <20240909100804.13552-9-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-rayon-cond-0.3): New variable. Change-Id: I2683b5cb5c698380cd9485b0a6f090f827678c4d --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2eb9f546b4..c525bf16b0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -61344,6 +61344,29 @@ (define-public rust-rawkey-0.1 "This package provides support for raw key input in terminals.") (license license:expat))) +(define-public rust-rayon-cond-0.3 + (package + (name "rust-rayon-cond") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon-cond" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ybxppq84p3q60h9rng9j3dm79f6970hn4wljyf31lpgan5m77q5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-either" ,rust-either-1) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/cuviper/rayon-cond") + (synopsis "Experimental iterator wrapper") + (description + "This package provides a Rust experimental iterator wrapper that is +conditionally parallel or serial.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rayon-core-1 (package (name "rust-rayon-core") From patchwork Mon Sep 9 10:08:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67803 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 2375C27BBEA; Mon, 9 Sep 2024 11:10:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 1313627BBEA for ; Mon, 9 Sep 2024 11:10:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLa-0004yQ-KI; Mon, 09 Sep 2024 06:10:14 -0400 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 1snbLP-0004qz-Ja for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLP-0000HV-9Q for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=0fQ3poQcnBU3UiegpzW97m8zHwLZ95YG52IS10+3BYI=; b=cOdbzpURgeAcM6wojf5jb8Brd711bUjyjgmRBrFLDDACYUy+dm1+XtCUC7LGUUH0Of9w6hQy9Nr5cf0XBYcp3jgLNMEyndyLgE/RC/uzC5+Xb8NSOFzwO4r40joNpuiK+m1c838UKyqYGd00093hThXS501Y4owxoHWg9+NBVkl3lcZUKoZYEKcXZv2xUC2o5VQWRLgi7QPnKEtm6ulQTKVJ2KrmVnT+vFnlNdLMk0DqpmiXM5N5u08fZAIULgHacaVtTKfkHgd2JU0uheXAs7tE5P9VHFfHs9RyMBt4SkOqqzWziNzxIUVFdWJdtuvzXd2rofax3zStYA+pClRtxg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLS-0003T7-Kc for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 09/10] gnu: Add rust-safetensors. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655813164 (code B ref 73094); Mon, 09 Sep 2024 10:10:06 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:18 +0000 Received: from localhost ([127.0.0.1]:60701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKg-0003QA-38 for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:18 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKa-0003NV-DH for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0fQ3poQcnBU3UiegpzW97m8zHwLZ95YG52IS10+3BYI=; b=Z24s8RIAY5u/8j7Jy+jqjkIQrHSSe8XvWzv7DnERIG0klu9CZLXWcqQNXBPThWanHF0UNk sWBdQW1fKRRw0A0xpkUVTyIrOp7Ahl+xuzi92UAuZUz/CYVHib3yOxfHJJnTtaqjZ6d99k WgqpXgcvyp8ut3viaqrOiFCz75Pnb1tdri1wb9Ux+C9VkyGQidlEydkS4wQ6fbFIfz7TzM nFFvaHaEcZQa+1MIBplXzT3Gi/6MVv3xZgJfhuPGH1RqDugpYw7nKyS56Uwk46e69HwKZX tok5ma0zgHoXAJjHpu1p0Dms2n2xtcCFe+d/DNkJYs+pe+8E10npiz+9wvxxig== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0dba3c21 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:57 +0000 (UTC) Date: Mon, 9 Sep 2024 12:08:02 +0200 Message-ID: <20240909100804.13552-10-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/machine-learning.scm (rust-safetensors): New variable. Change-Id: I2733dbae90b292ed6485666cf875d6fb899c5d12 --- gnu/packages/machine-learning.scm | 32 ++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 34dc5c8d26..410b71b061 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -17,7 +17,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego ;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer -;;; Copyright © 2022, 2023 Nicolas Graves +;;; Copyright © 2022, 2023, 2024 Nicolas Graves ;;; Copyright © 2022 Kiran Shila ;;; Copyright © 2023 zamfofex ;;; Copyright © 2023 Navid Afkhami @@ -51,6 +51,7 @@ (define-module (gnu packages machine-learning) #:use-module (guix utils) #:use-module (guix download) #:use-module (guix svn-download) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) @@ -76,6 +77,7 @@ (define-module (gnu packages machine-learning) #:use-module (gnu packages cmake) #:use-module (gnu packages cpp) #:use-module (gnu packages cran) + #:use-module (gnu packages crates-io) #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) #:use-module (gnu packages documentation) @@ -1055,6 +1057,34 @@ (define-public python-sacrebleu and reproducible BLEU, chrF, and TER scores for natural language processing.") (license license:asl2.0))) +(define-public rust-safetensors + (package + (name "rust-safetensors") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "safetensors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fbx56wikqcvqb4y0ym0cys68lj0v3cpanhsy5i13fkz5jr7dvcc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/huggingface/safetensors") + (synopsis "Simple and safe way to store and distribute tensors") + (description + "This package provides a fast (zero-copy) and safe (dedicated) format for +storing tensors safely, named safetensors. They aim to be safer than their +@code{PyTorch} counterparts.") + (license license:asl2.0))) + (define-public python-sentencepiece (package (name "python-sentencepiece") From patchwork Mon Sep 9 10:08:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67800 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 833B027BBEA; Mon, 9 Sep 2024 11:10:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 E01B927BBE2 for ; Mon, 9 Sep 2024 11:10:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLa-0004yq-To; Mon, 09 Sep 2024 06:10:14 -0400 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 1snbLP-0004qn-6x for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:03 -0400 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 1snbLO-0000DY-Qe for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=pAXYWy5sY5MFa0A/nAkpRCbArKn/rAh3TNrexIQyqH4=; b=p9mgsyNCMu2mImGAcranQuGh/N+DMmOeYAW2sPX5O0+mVv1bUwlZER3MRCUnkqJGwaQCY3GWhyJbpbAsJNumwzOpuRNxOoagQNxkAGfwQ0hUgMwr+wV56BMg56sfnKLldgX+DFZKQ60mudGvvxg9xUOahQ911BKpB3cvP2D5jhX4ARSwmAI7lcvi9foWPWmbYQBwWAFfpTqBf2kiVQy30PCB/Bxatk4StWRAhCkfwLZhm1kI3JalTd9Ln1SaOGlvhGWWjHNR1NXoXzr1QwNzGlH+b0CqArAB+KzqQzfFl/lYhC1aUC3RXWljI9xL1sGkzBj4mhIJvbIUQr+XN8D+9w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLS-0003Sl-5Y for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 10/10] gnu: Add python-safetensors. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655813157 (code B ref 73094); Mon, 09 Sep 2024 10:10:06 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:18 +0000 Received: from localhost ([127.0.0.1]:60699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKf-0003Q2-E5 for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:18 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:45303 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKa-0003Nt-J0 for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pAXYWy5sY5MFa0A/nAkpRCbArKn/rAh3TNrexIQyqH4=; b=PWocxdl/CYPBoIunxLTM6ECM9yQBchWAD6Xmq2tPcFqawRQGNugJ7Q1KIxbu4pppS4g3ao 7P1Zh+Iu7pF86dBgwuWxciLdvfAnvwxK6XVMvQazZfCW85kPOAAhN6MsAyNMGaOK5yGQQU S/EgQ13EOdUI/VwQgJAr+iwmopZSW9AzVtlu8Yu+P5CoZ30YWF8S08KU64T6iEkKcdfMhe efLF76n+oDgQW9wMG6bcxh/7xN3ghIhy5wHBUeDA1VCX/rSQJsL4DzGic/bqHcHOSO/1Vt N/6DNAf9Ama3LkLXkVRThRocldAw+dy3s50S5h3Cw6n6ZFtBTZn5jzog58gl/A== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id b7e45206 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:58 +0000 (UTC) Date: Mon, 9 Sep 2024 12:08:03 +0200 Message-ID: <20240909100804.13552-11-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Nicolas Graves * gnu/packages/machine-learning.scm (python-safetensors): New variable. Change-Id: I90a1684d06756ce87ca0862d745a75be5919f0b2 --- gnu/packages/machine-learning.scm | 100 ++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 410b71b061..8b9dd2f7e4 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1085,6 +1085,106 @@ (define-public rust-safetensors @code{PyTorch} counterparts.") (license license:asl2.0))) +(define-public python-safetensors + (package + (name "python-safetensors") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "safetensors" version)) + (sha256 + (base32 "1hhiwy67jarm70l0k26fs1cjhzkgzrh79q14bklj2yp0qi8gr19g")) + (modules '((guix build utils) + (ice-9 ftw))) + (snippet + #~(begin ;; Only keeping bindings. + (for-each + (lambda (file) + (unless (member file '("." ".." "bindings" "PKG-INFO")) + (delete-file-recursively file))) + (scandir ".")) + (for-each + (lambda (file) + (unless (member file '("." "..")) + (rename-file (string-append "bindings/python/" file) + file))) + (scandir "bindings/python")))))) + (build-system cargo-build-system) + (arguments + (list + #:modules '((guix build cargo-build-system) + (guix build utils) + (ice-9 regex) + (ice-9 textual-ports) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack-rust-crates 'inject-safetensors + (lambda _ + (substitute* "Cargo.toml" + (("\\[dependencies\\]") + (format #f "[dependencies]~%safetensors = ~s" + #$(package-version rust-safetensors)))) + (call-with-input-file "Cargo.toml" + (lambda (port) + (let* ((content (get-string-all port)) + (top-match (string-match + "\\[dependencies.safetensors" + content))) + (call-with-output-file "Cargo.toml" + (cut display (match:prefix top-match) <>))))))) + (add-before 'check 'install-rust-library + (lambda _ + (copy-file "target/release/libsafetensors_rust.so" + "py_src/safetensors/_safetensors_rust.so"))) + (replace 'check + (lambda _ + (invoke "python3" + "-c" (string-append "import sys; sys.path.append" + "(\"" (getcwd) "/py_src\")") + "-m" "pytest" + "-n" "auto" + "--dist=loadfile" + "-s" "-v" "./tests/" + ;; Missing jax dependency + "--ignore=./tests/test_flax_comparison.py"))) + (add-after 'install 'install-python + (lambda _ + (let* ((pversion #$(version-major+minor + (package-version python))) + (lib (string-append #$output "/lib/python" pversion + "/site-packages/")) + (info (string-append lib "safetensors-" + #$(package-version this-package) + ".dist-info"))) + (mkdir-p info) + (copy-file "PKG-INFO" (string-append info "/METADATA")) + (copy-recursively + "py_src/safetensors" + (string-append lib "safetensors")))))) + #:cargo-inputs + `(("rust-pyo3" ,rust-pyo3-0.21) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-safetensors" ,rust-safetensors) + ("rust-serde-json" ,rust-serde-json-1)))) + (inputs + (list rust-safetensors)) + (native-inputs + (list python-h5py + python-minimal + python-numpy + python-pytest + python-pytest-xdist + python-pytorch + tensorflow)) + (home-page "https://huggingface.co/docs/safetensors") + (synopsis "Simple and safe way to store and distribute tensors") + (description "This package provides a fast (zero-copy) and safe +(dedicated) format for storing tensors safely. This package builds upon +@code{rust-safetensors} and provides Python bindings.") + (license license:asl2.0))) + (define-public python-sentencepiece (package (name "python-sentencepiece")