From patchwork Sat Sep 7 16:56:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67728 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 85F6027BBEB; Sat, 7 Sep 2024 17:57:35 +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 5140827BBE2 for ; Sat, 7 Sep 2024 17:57:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykB-0000qj-UZ; Sat, 07 Sep 2024 12:57: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 1smykA-0000oN-6X for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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 1smyk9-0001bL-SZ for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=oaZwg5RWYZhPLljxO3fIs9dsb5801EQnUvFL8MCsr0U=; b=X0c6W02JRrZk7WjGktYsJelRCO1dhLlZQVEyS7c/tj1bWcg9cbqsvWbyAQ946wRiKzLSDg7FyRd8S+3/dipp3w7KUZAPkp3mCD3MiFmdLHPgQkijZOO879VJuutbjXk59ymc+MCYC+T9irg1xcP4Gfeu1Xpnl39gvNNTjWlFSOZzUvuNveXj9xv7Os19sCceJrQmp8YCZQAO2/4lZiC9bg+o70O0Hi6phfPzyS9F2xVRJiA06hldNwekI3iLx3NO6hvlchwT1lXvSwCyexvrqjzgtwU+srwfQzdZ6aN5F6VGYpCJqEQP9cMbby1WsG7FB+x35IueBmvdGeesRiLlDg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykA-0007vj-S4 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 02/10] gnu: Add rust-spm-precompiled-0.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572819730336 (code B ref 73106); Sat, 07 Sep 2024 16:57:02 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:37 +0000 Received: from localhost ([127.0.0.1]:57427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjl-0007tC-B3 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:37 -0400 Received: from 10.mo576.mail-out.ovh.net ([46.105.73.241]:53975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjh-0007sd-Dk for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:34 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.9.128]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4b1cFfz1t3n for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:31 +0000 (UTC) Received: from ghost-submission-55b549bf7b-hc4cq (unknown [10.110.101.52]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AE4971FD31; Sat, 7 Sep 2024 16:56:30 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-55b549bf7b-hc4cq with ESMTPSA id u4kqHb6F3GY9FwAAKgHleA (envelope-from ); Sat, 07 Sep 2024 16:56:30 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004fbabb071-ef4c-4380-a102-7dd07f7a42c6, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:08 +0200 Message-ID: <20240907165626.22651-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9637421729071751906 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=oaZwg5RWYZhPLljxO3fIs9dsb5801EQnUvFL8MCsr0U=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728191; v=1; b=Qhxxo0NQQilKI2LaA3IlswSxIcyv2wbdbDHUMOIIMwWffdqgBLO33pecpEEm2eC5nHAeMWU7 Ekj+WO6iBVzaGx0aRvri3NJ5te5e6NKrSN4zIqAgnZv7hjHkV4Tp6pmCS71mhwg/IsHUULehnDx DGegF6q4ywJUr817GFZPZY/kkDSjHVej9Er7xtu4zMqDiOvS3bX6GCVkIgv/OarOe3ONNYn5Fha iAej3yEVyotgdVJggWRgFRWC0opZjvL2tuRZHZk302jRdzobUrLpt8Ihbiwc02RNqyIwoq+rRad x/ldTX1IqVtMS57Sb2GJQR0nlVt4M/aFSfJQOi6eol87Q== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/machine-learning.scm (rust-spm-precompiled-0.1): New variable. Change-Id: I622c1a875e10041703ef0a32e7c35074f534276b --- gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 4385603a4a..d3f76ebeba 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5600,6 +5600,33 @@ (define-public rust-esaxx-rs-0.1 "This package provides a wrapper around sentencepiece's esaxxx library.") (license license:asl2.0))) +(define-public rust-spm-precompiled-0.1 + (package + (name "rust-spm-precompiled") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "spm_precompiled" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09pkdk2abr8xf4pb9kq3rk80dgziq6vzfk7aywv3diik82f6jlaq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page "https://github.com/huggingface/spm_precompiled") + (synopsis "Emulate sentencepiece's DoubleArray") + (description + "This crate aims to emulate +@url{https://github.com/google/sentencepiece,sentencepiece} +Dart::@code{DoubleArray} struct and it's Normalizer. This crate is highly +specialized and not intended for general use.") + (license license:asl2.0))) + (define-public python-hmmlearn (package (name "python-hmmlearn") From patchwork Sat Sep 7 16:56:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67732 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 0BE3927BBEA; Sat, 7 Sep 2024 17:57:45 +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 85D1827BBE2 for ; Sat, 7 Sep 2024 17:57:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykC-0000s2-Hg; Sat, 07 Sep 2024 12:57:04 -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 1smykA-0000oj-HW for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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 1smykA-0001bR-8k for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=yBtZeRVQjESG1nsX7cISGKzFrOdSN7KO6a1C5IyeieU=; b=W85FiaU/WMVEk/QsKlHKIWjR7k5kPjIRo5g6nuXG9Ax9pQ/18a6j3y77tWz6HhnH5I0F1PR3JqkiASkXHvzK8wS0Jg0IZp18v7pKzIgL3Wi99KlAPiwLch2c8zDHHMqYMGLBZdDVZaVFKI5wcVVuM8f+U8jYHSVdhhyrYXaIa3IfWA8TYkEE4/p2OL+KUcO2SnWXqJrFxUWQxkQX3aUyNiHqN62PYr+qT878HoaDsV7Un1uqds/WjpYa8B88CrXqJnXfo4/MulsNUZoAVf7S60DwyClKWeg2foF8+MLlvNUfQCjB0ElalnrtcJpft+F6PPspQiQgdtfmiTtgCyDGUQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykB-0007vq-7r for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 03/10] gnu: Add rust-macro-rules-attribute-proc-macro-0.2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572819830350 (code B ref 73106); Sat, 07 Sep 2024 16:57:03 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:38 +0000 Received: from localhost ([127.0.0.1]:57431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjl-0007tF-MO for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:38 -0400 Received: from 7.mo575.mail-out.ovh.net ([46.105.63.230]:47643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyji-0007so-Q4 for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:36 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.139.191]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4c4KSGz1jGy for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:32 +0000 (UTC) Received: from ghost-submission-55b549bf7b-kf8j4 (unknown [10.111.174.115]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 106E11FE84; Sat, 7 Sep 2024 16:56:31 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-55b549bf7b-kf8j4 with ESMTPSA id N9LmJ7+F3GbvBQAAf47d0Q (envelope-from ); Sat, 07 Sep 2024 16:56:31 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R0015e365363-007f-4434-99df-198f7d7007a1, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:09 +0200 Message-ID: <20240907165626.22651-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9637703206687138530 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=yBtZeRVQjESG1nsX7cISGKzFrOdSN7KO6a1C5IyeieU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728192; v=1; b=d1p5MPyNfdy1KaVJp+keGZzK3zmZ4BGPv78lgCi+iNEmkSmeF5KvY63FcoT78yW5hAoknW77 wjVRldLyahqGwALv6eqkfDPmwiCzP4/maBzEgMRUGajACUuaa0lrLbtv3Ktk7gNmehNho2NdIfq iZTl0J5FQ6MQO/IYAL6KNTUJXnZst/jxXY8KjJndsQcUMJARXyiaH2RZZEam11b3jZgpHFw1nnO yx2vPJZk8cDRm0rIWfWDvrQU73Z4W2Gb6wikPUHB1P/3a57LXsos4Ar4WPet4WRfW0ZBmwabL/g M/xDHfSzV9qkS+kuOhizxFDXrFMf8OgKo8SKVFCDcXmcA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-io.scm (rust-macro-rules-attribute-proc-macro-0.2): New variable. Change-Id: I1fab6de81c897643cae52e733bd06bb00ea1bd7f --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 36ecbe4430..d04f8723fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41076,6 +41076,27 @@ (define-public rust-macaddr-1 (description "This pakcage provides MAC address types.") (license (list license:asl2.0 license:expat)))) +(define-public rust-macro-rules-attribute-proc-macro-0.2 + (package + (name "rust-macro-rules-attribute-proc-macro") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "macro_rules_attribute-proc_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s45j4zm0a5d041g3vcbanvr76p331dfjb7gw9qdmh0w8mnqbpdq")))) + (build-system cargo-build-system) + (home-page + "https://github.com/danielhenrymantilla/macro_rules_attribute-rs") + (synopsis "Use declarative macros in Rust") + (description + "This package provides the ability to use Rust declarative macros as +proc_macro attributes or derives. This package provides implementation +details to @code{rust-macro-rules-attribute}.") + (license license:expat))) + (define-public rust-macrotest-1 (package (name "rust-macrotest") From patchwork Sat Sep 7 16:56:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67727 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 E867627BBEA; Sat, 7 Sep 2024 17:57:34 +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 9EF7327BBE2 for ; Sat, 7 Sep 2024 17:57:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykF-0000se-12; Sat, 07 Sep 2024 12:57: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 1smykA-0000p0-Ug for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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 1smykA-0001bX-Kx for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=pdgjHTStsmXhR1mq8bZSvQKAv+mLOVHY7Y1wVld8CRY=; b=aOAMjoTP9VxFe9tya1HAASfkheDyH5lXZ3PRnYEib15tRNLADYWDqWg4A8Ad3YcispL+Ysd3AOnrgFKR1XGe6YTYsYU1ta+eZmcJDcVWXw6cFpiXH2kCNL5Pg/DxrFRiY5WoGzfCX1UYsOULBlGY/BKyjOfe4WBnamz4ISpZ+19ptjNcucGU/avagLnwd61sXg6sgOHGBJ9nO8zWCPYkD0k6n64m4Lodp+ZjeIQf382ldh1vtOZmD1XsCl22iYpKU9569fkxN1WCkoU3heDNTYNJgVqYcThBM28d4WIH+vh64TeDbm7W0h8yV6rTyA5JLwtp9+Z38tDQNu2YlDOjOA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykB-0007vz-KZ for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 04/10] gnu: Add rust-macro-rules-attribute-0.2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820030380 (code B ref 73106); Sat, 07 Sep 2024 16:57:03 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:40 +0000 Received: from localhost ([127.0.0.1]:57437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjn-0007te-7A for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:40 -0400 Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]:35151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjk-0007t3-MR for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:37 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.54]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4f0jDgz1Y9l for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:33 +0000 (UTC) Received: from ghost-submission-55b549bf7b-sntps (unknown [10.111.182.135]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9DBC01FD0E; Sat, 7 Sep 2024 16:56:33 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-55b549bf7b-sntps with ESMTPSA id +VMqA8GF3GbSBQAAY1mbyA (envelope-from ); Sat, 07 Sep 2024 16:56:33 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0026015e73a-3da8-4fff-b3e1-78e7259d8135, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:10 +0200 Message-ID: <20240907165626.22651-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9637984679996023522 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpefgueeijefguddvledtuddtueefudffjeetleevkedtudeiffeffedvvdevvedvteenucffohhmrghinheptghrrghtvghsrdhiohenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=pdgjHTStsmXhR1mq8bZSvQKAv+mLOVHY7Y1wVld8CRY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728194; v=1; b=0b7Y+7bdmNkuXv1y1pqU3HIKPIVCRi8eqrXko/TqJ/STWtTcfYiYM37/q57p5f/YXXIxGf/e mdcQ1HoApYhZngdrM10XFjzxiS1BCnzFacGjkApZmHbA9qn8XzTFErYjeT1C+0agDPJYzfdcsoc C1f6MUK0QM2KnWfe18ec7E2Frg98bB8HNQfdG71df+BJfroWU5ohym5LtmIr5zT35/6hKJI+oKg 6DR00gSOMRtyTNHdnGoL9md9wALi0z5g599xmCfbpC4xmidM8NE4e4HnQooGQjEBY02Rse9WnsK ahEzPDCb1wWEv1Bjt7wQve8OVKNR4Hxz8PNP7do/aqTrA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-io.scm (rust-macro-rules-attribute-0.2): New variable. Change-Id: I62c9ba35a8a9f71f05f0f3c5307d7abe11f408c8 --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d04f8723fd..658721b123 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41097,6 +41097,34 @@ (define-public rust-macro-rules-attribute-proc-macro-0.2 details to @code{rust-macro-rules-attribute}.") (license license:expat))) +(define-public rust-macro-rules-attribute-0.2 + (package + (name "rust-macro-rules-attribute") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "macro_rules_attribute" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04waa4qm28adwnxsxhx9135ki68mwkikr6m5pi5xhcy0gcgjg0la")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-macro-rules-attribute-proc-macro" + ,rust-macro-rules-attribute-proc-macro-0.2) + ("rust-paste" ,rust-paste-1)) + #:cargo-development-inputs + (("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://crates.io/crates/macro_rules_attribute") + (synopsis "Use declarative macros in Rust") + (description + "This package provides the ability to use Rust declarative macros as +proc_macro attributes or derives.") + (license license:expat))) + (define-public rust-macrotest-1 (package (name "rust-macrotest") From patchwork Sat Sep 7 16:56:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67730 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 B958E27BBE2; Sat, 7 Sep 2024 17:57:40 +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 1966527BBE9 for ; Sat, 7 Sep 2024 17:57:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykE-0000sH-Rc; Sat, 07 Sep 2024 12:57:06 -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 1smykB-0000p8-A4 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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 1smykB-0001bf-0y for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=BvZXI7Kb1TDfr8xhZt9JdpMiuYj63axvJhZ3Fc8ENp4=; b=VNzMs9sryTT4Ky4KWE9I91hPOjVz7odnmBbhkf89m3bUBagxzMBqNebFQsyyee1d4PPrInN5woTXhDbUuRFeWLVNmCEPkT318JK4tVQdwEEnxESOv7y0lgq2nZcYZWIJ+oW+b1xCKKiUx1WUKmOY/5xU1Rd5JyhX/WU1MHxZVMVObFIIU6iF4CZsPT3MGmVIGgT9CqlllpRL1dTL7sQkcusKmsmQ2pQFpCcnaximaZYFbWqtbpeWA4ng6YqelcjR2wfhG/Ld71fxeussMLqvWakoDJJEx4f7DjWdYnN/pIoswbqF9cAbRBWOLdzaRR3bY8+0fLZTfFu6sS8nByrO0Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykC-0007w6-0V for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 05/10] gnu: Add rust-hf-hub-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820330407 (code B ref 73106); Sat, 07 Sep 2024 16:57:03 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:43 +0000 Received: from localhost ([127.0.0.1]:57445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjr-0007uL-5I for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:43 -0400 Received: from 4.mo583.mail-out.ovh.net ([178.33.111.247]:33807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjl-0007t4-8p for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:39 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.17.88]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4f6F64z1TJf for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:34 +0000 (UTC) Received: from ghost-submission-55b549bf7b-hn9v2 (unknown [10.111.182.135]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 88F781FDAC; Sat, 7 Sep 2024 16:56:34 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-55b549bf7b-hn9v2 with ESMTPSA id aP3lEMKF3GZ/wgkA4YKJng (envelope-from ); Sat, 07 Sep 2024 16:56:34 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G00459853fef-a27c-41eb-8e93-e925464ff39e, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:11 +0200 Message-ID: <20240907165626.22651-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9638266152982799074 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpefhveejvdduieeihedvhfeihfffteekudfhjeekvdfgudetgefghfdvffegieevkeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhhuhhgghhinhhgfhgrtggvrdgtohenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=BvZXI7Kb1TDfr8xhZt9JdpMiuYj63axvJhZ3Fc8ENp4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728195; v=1; b=BbuGtVcCeDRwkUlNpJT7lMNkcoWZpTPpZhA48m2xwiA2KwZxTmQeS/FH7llD5XaaaXL7AZq/ bKYMO24F3UqQvPu7wclbh6BZcFJqnL1HT5vov9AYGj3Oe1hCxEMUPadm0ya8J9BRvOrNMlqbABn mE1U/Y6dBof1vTkKnkg3AabSZun0iBHi7sI5jhyBOwn+b6N6UPyQYek2HGeqLfvltjsliWs97gA YIFVyfSuxiVx8LttqShvLsdnaaAjiChV5lnwaZ+ntuCaFgNnXY2JgY3fOLCsxBcKUkG8tsbclYX wBrk4jqUfuMQMnZcqSLp6xhWshFxUTCfC83lTVgjyaWoA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/machine-learning.scm (rust-hf-hub-0.3): New variable. Change-Id: I9e64c316dde8094e6142785af8549556953513e0 --- gnu/packages/machine-learning.scm | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d3f76ebeba..27d7f0526b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -78,7 +78,10 @@ (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-crypto) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-web) #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) #:use-module (gnu packages documentation) @@ -5627,6 +5630,51 @@ (define-public rust-spm-precompiled-0.1 specialized and not intended for general use.") (license license:asl2.0))) +(define-public rust-hf-hub-0.3 + (package + (name "rust-hf-hub") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hf-hub" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cnpivy9fn62lm1fw85kmg3ryvrx8drq63c96vq94gabawshcy1b")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; require network connection + #:cargo-inputs + (("rust-dirs" ,rust-dirs-5) + ("rust-futures" ,rust-futures-0.3) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-ureq" ,rust-ureq-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (home-page "https://github.com/huggingface/hf-hub") + (synopsis "Interact with HuggingFace in Rust") + (description + "This crates aims ease the interaction with +@url{https://huggingface.co/,huggingface}. It aims to be compatible with +@url{https://github.com/huggingface/huggingface_hub/,huggingface_hub} +python package, but only implements a smaller subset of functions.") + (license license:asl2.0))) + (define-public python-hmmlearn (package (name "python-hmmlearn") From patchwork Sat Sep 7 16:56:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67731 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 E050527BBEA; Sat, 7 Sep 2024 17:57:43 +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 9073027BBE2 for ; Sat, 7 Sep 2024 17:57:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykF-0000sh-0n; Sat, 07 Sep 2024 12:57: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 1smykC-0000rg-4b for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -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 1smykB-0001bs-SA for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=7RaP/q4DBcI5NPFLLyWWVHs+MhWRHvkPHGxouj+Bg6U=; b=YOrTFK7Px9Lw2MVcgEwJa5HM9gP/o1kyf3V7SKMt+S1c5H4bSMmFVcDSxPZXEesoF/gVEiSO0X4+MXOBMmvPcfOCHEnVTO965FXeLOvGXnPCuQ2X76Jm2BQ3k3MOrMvuHizU5v21xMUsYWtrnHZ/iFFB91ds1L2ipkKIhgFSn1Rm4V77uwwAkW4H41MJwTN9P4ey299K/607+NIx1M6whFWkmxWV6NS5k1DLsJPPjIcwpAfdWkpSu1yX708MWc7xYJUrwIiMnWAUsZoBPwCszzLGBDXUuP6BjtZce0D7BbRwEVdl2KnoUZUOHBKGSZPp8G4X53gSP7MLDeUzTWDHYA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykC-0007wL-RA for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 06/10] gnu: Add rust-monostate-impl-0.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820430422 (code B ref 73106); Sat, 07 Sep 2024 16:57:04 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:44 +0000 Received: from localhost ([127.0.0.1]:57449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjs-0007uV-18 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:44 -0400 Received: from 7.mo582.mail-out.ovh.net ([46.105.59.196]:36537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjm-0007tB-HQ for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:39 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.157]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4g50Cvz1QF3 for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:35 +0000 (UTC) Received: from ghost-submission-55b549bf7b-75zx8 (unknown [10.110.101.93]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5C5201FD81; Sat, 7 Sep 2024 16:56:35 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-55b549bf7b-75zx8 with ESMTPSA id WsLeD8OF3GbdBQAAxH5bTg (envelope-from ); Sat, 07 Sep 2024 16:56:35 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G0012227d472-c924-4ed7-8099-c4b8d5ad79c6, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:12 +0200 Message-ID: <20240907165626.22651-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9638547631227265762 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=7RaP/q4DBcI5NPFLLyWWVHs+MhWRHvkPHGxouj+Bg6U=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728195; v=1; b=Bqrfnit92oBi8+PBx7tsqzEbt6WXv6eEO5WZG5ehtTq/jLkc7CeE8HDiDqPUnpqdEp8MyH07 VoFkWXL8tAuag8ChpX1ohQyl7mPeIORwywdw7d2E7TcVVHR+WNjtpamcu4WOae+ihnHPmS5BD9+ OiOza8YeBLtabCveLBKPTLdeBAGq97SJMkNv9s3nJHmczaS/C42laUgJan/AkD08I06XHfnazz4 YFqs4eQ6n0SFbxBrMy0I1nAlHIvaam6bKaJg5uRyI8isW/sjYPPiugQlvOEA745ooxmMn7dpC4U /VvmXZQyEYDAfwE5ZoDPRQ/YmDZSZVMJLAIwmL68Yl61g== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-io.scm (rust-monostate-impl-0.1): New variable. Change-Id: Ica72fb8bce3589ed1ee5b08c3d96dcc24aaee279 --- 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 658721b123..28ff81c801 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43718,6 +43718,29 @@ (define-public rust-modifier-0.1 "Chaining APIs for both self -> Self and &mut self methods.") (license license:expat))) +(define-public rust-monostate-impl-0.1 + (package + (name "rust-monostate-impl") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "monostate-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1km6kc6yxvpsxciaj02zar8cx1sq142s6jn6saqn77h7165dd1pn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/dtolnay/monostate") + (synopsis "Implementation detail of the monostate crate") + (description + "This package provides Implementation detail of the monostate crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-more-asserts-0.3 (package (name "rust-more-asserts") From patchwork Sat Sep 7 16:56:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67729 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 5FCB827BBEB; Sat, 7 Sep 2024 17:57:40 +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=unavailable 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 6955B27BBE2 for ; Sat, 7 Sep 2024 17:57:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykF-0000tU-Ga; Sat, 07 Sep 2024 12:57: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 1smykB-0000pD-Mb for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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 1smykB-0001bl-DF for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57: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=DmxQ1WAcsWVm1t5js8qKaADOhxt11vbNHtYh1JCPYtk=; b=l9Oig51o8hJezuo0vC6dcuzqPItaaMpkmEcSy2ydnv8VdZhm9bJ5U128BTlGKSdq3IJHaiOaTwWNqSKqgG/oB1JMiq3vbdaefEpFgtGj+zF7cxWiXn9+uzVIaxMB7wCPVYZsDarepJnolFK2txfBh/LSkzNhL/XiHUjX/67sx9Dm9sbydeiNWye/bZ9mmrnLwwDEjQfql8dIlkfo3zgRq9cdRQjopBD0XMBOQbrHL7b0BDme1uG2MiZlDnCzP/e3CMV2wcMerl3b342j06imKPLN7Utq99KotvBZo5yYxZWLDybDPKNg4mUogBScKgbX4sf29DFBvhpvl/YimCGISA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykC-0007wD-Cj for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 07/10] gnu: Add rust-monostate-0.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820430414 (code B ref 73106); Sat, 07 Sep 2024 16:57:04 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:44 +0000 Received: from localhost ([127.0.0.1]:57447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjr-0007uO-MM for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:43 -0400 Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:53019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjm-0007tD-Cy for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:39 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.17.88]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4h169Qz1t3n for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:36 +0000 (UTC) Received: from ghost-submission-55b549bf7b-jcgl4 (unknown [10.110.168.145]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id F25B01FE4A; Sat, 7 Sep 2024 16:56:35 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-55b549bf7b-jcgl4 with ESMTPSA id pEb6L8OF3GZJmAIAS6r0RA (envelope-from ); Sat, 07 Sep 2024 16:56:35 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G00117c7cea5-9320-456c-9d62-02cc3a389b0d, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:13 +0200 Message-ID: <20240907165626.22651-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9638829102488085218 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=DmxQ1WAcsWVm1t5js8qKaADOhxt11vbNHtYh1JCPYtk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728196; v=1; b=tlUHod3XA9QQsWfexOqoXayvoS2PLUTFavASn9xsx45HX8mWLjL8xnD+jvUguz0QEwx5/0MO 1QfvCDhUAGNgSPb23ohSavYOCRihnZk0Lo6erep1aPVfVTP2imPcAVryEUYBoKcBJYSF6MzKXTt J/V5egg9Wn2Vz2nrzcAEXAPjm/JuWW1Qk4sehZ5MjwsVBcYYf0RQtvT4O8eBdQOvPcFsI1UWYKW hFm2CMUj12RrsvfWHZEYWsCiowlCMfiq6JxMYKgzmADcOjw7ZzseKyrMDrP2INA0tXxJ0clo5mu GhJa/75+GNcEf5zs8kDPWyk2gEzG5YAW3sfunxuDlNKYg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-io.scm (rust-monostate-0.1): New variable. Change-Id: I53f1ebfaf98e785eedeb3293f211bffa6f44bc76 --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 28ff81c801..7a8f090fd9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43741,6 +43741,32 @@ (define-public rust-monostate-impl-0.1 "This package provides Implementation detail of the monostate crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-monostate-0.1 + (package + (name "rust-monostate") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "monostate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xchz8cs990g7g5f8jjybjnyi9xnhykiq44gl97p5rbh3hgjm347")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-monostate-impl" ,rust-monostate-impl-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/dtolnay/monostate") + (synopsis "Type that deserializes only from one specific value") + (description + "This package provides a Rust type that deserializes only from one +specific value.") + (license (list license:expat license:asl2.0)))) + (define-public rust-more-asserts-0.3 (package (name "rust-more-asserts") From patchwork Sat Sep 7 16:56:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67726 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 245DC27BBEA; Sat, 7 Sep 2024 17:57:20 +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 866FF27BBE2 for ; Sat, 7 Sep 2024 17:57:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykF-0000ti-St; Sat, 07 Sep 2024 12:57: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 1smykC-0000s8-LY for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -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 1smykC-0001bx-C0 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -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=u5kmPC4z/BMZ8b82XXWqBr3nPgBryvUwFgRrL180Dp0=; b=YPr9zxdQ2rtZXJzmyeGt5afF92VmkuomzmU99jxgcbTbX0qXSCKKch75OgH6AepQtFfONx1CdUFW+/jXPnbosPSUOHsq1xymfGTyuOIGMeFw11SILB5vpp04dWZp4QwglW2w3X9c4xaHfN/s7kwP4QhYSI9RXM0oJBn+WhJKrYvCsO8i8tXzPspv4AuBYjxZlw4lqgKso31OFPj2NwxDslXCcZVmOwK/ve5gGzNhFTHWUskKWJ2o5zlaMY20Uluxdo0pvjkSyHS9CKMYwy6sSTnuRnpc0G5qLRac0SpMTiqAyTRm97GfWkK1qVByrIM2AhK+eJ0lhSUw8vjgWiAfIQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykD-0007wS-Ap for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 08/10] gnu: Add rust-tokenizers. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820530431 (code B ref 73106); Sat, 07 Sep 2024 16:57:05 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:45 +0000 Received: from localhost ([127.0.0.1]:57451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjs-0007ud-CM for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:44 -0400 Received: from 6.mo550.mail-out.ovh.net ([46.105.43.205]:55519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjo-0007td-13 for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:40 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.140.54]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4j2kh2z1PNs for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:37 +0000 (UTC) Received: from ghost-submission-55b549bf7b-hc4cq (unknown [10.110.168.145]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 042FF1FDF0; Sat, 7 Sep 2024 16:56:36 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-55b549bf7b-hc4cq with ESMTPSA id h9ecMcSF3GZNFwAAKgHleA (envelope-from ); Sat, 07 Sep 2024 16:56:36 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G006181eaffc-6a8c-46d9-bc6d-1a1676e49fc0, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:14 +0200 Message-ID: <20240907165626.22651-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9639110579352363746 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=u5kmPC4z/BMZ8b82XXWqBr3nPgBryvUwFgRrL180Dp0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728197; v=1; b=AzbXgAptbSi/CbrLrzVmGjL4bSakbdWKqyRnyqAlA7ww5KZVtFi8i1umhDdf0F5ImbV3w+Lq oyayFkWtbMXR/KEw4JgpFu4WLhS2nFzaPwFbcYJxxUTfq9wIt+bzhtyWGrjKeOWLfPNz20xsYet g6/phTO+gQjaFKPBwbBvoRAYTcByJrWjxu73+0QmDTq9OQMRblk0in0LcrAIY3hVNFKOaxYf4KK WRvfDYwDTOcTG/RBk4z+hgPmiKN26LPmvQIM6ZWe22LUNITs3cROE6fapLkOsfJIeQYpTXppCCS jBqeUGqd1kom3pbhE4BtRbXWI4Ks/009jcA1OkauDeoAA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/machine-learning.scm (rust-tokenizers): New variable. Change-Id: I3189a2d826f072f65ad053d77eb39be39775f1c2 --- gnu/packages/machine-learning.scm | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 27d7f0526b..3b601f6c91 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5675,6 +5675,66 @@ (define-public rust-hf-hub-0.3 python package, but only implements a smaller subset of functions.") (license license:asl2.0))) +(define-public rust-tokenizers + (package + (name "rust-tokenizers") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokenizers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zg6ffpllygijb5bh227m9p4lrhf0pjkysky68kddwrsvp8zl075")) + (modules '((guix build utils))) + (snippet + #~(substitute* "Cargo.toml" + (("0.1.12") ; rust-monostate requires a rust-syn-2 update + "0.1.11") + (("version = \"6.4\"") ; rust-onig + "version = \"6.1.1\""))))) + (build-system cargo-build-system) + (arguments + (list + #:tests? #f ; tests are relying on missing data. + #:cargo-inputs + `(("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-esaxx-rs" ,rust-esaxx-rs-0.1) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hf-hub" ,rust-hf-hub-0.3) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-macro-rules-attribute" ,rust-macro-rules-attribute-0.2) + ("rust-monostate" ,rust-monostate-0.1) + ("rust-onig" ,rust-onig-6) + ("rust-paste" ,rust-paste-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-rayon-cond" ,rust-rayon-cond-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spm-precompiled" ,rust-spm-precompiled-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-normalization-alignments" ,rust-unicode-normalization-alignments-0.1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-categories" ,rust-unicode-categories-0.1)) + #:cargo-development-inputs + `(("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/huggingface/tokenizers") + (synopsis "Implementation of various popular tokenizers") + (description + "This package provides a Rust implementation of today's most used +tokenizers, with a focus on performances and versatility.") + (license license:asl2.0))) + (define-public python-hmmlearn (package (name "python-hmmlearn") From patchwork Sat Sep 7 16:56:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67733 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 3BEF927BBEA; Sat, 7 Sep 2024 17:57:46 +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 DF39527BBE2 for ; Sat, 7 Sep 2024 17:57:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykG-0000to-Hs; Sat, 07 Sep 2024 12:57: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 1smykD-0000sG-4r for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:06 -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 1smykC-0001c3-SG for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -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=7QvCQXaQe8qe6uxvwWrSW/kwu7T4fxu3gIcwyZltEew=; b=Q+uE2O+zkhOo2L2+khZnM8JJdHOx85WINlCJuVAb///d+Fx8rxsp8dETixGtHWrYZO4HtQpb0ykdMkihfYDJm9t2DFzlfe56C6OoMjKEBCUg3xBff2/Eve/1HX+IhuMSLNWCoP/8rZjoIR3eroLbbaxQR+RCcGY2F6u79YzPv5l73/fjYIOvqx0/dsE9N8/mQnuCK+QyPJIFo3+tiyxq0IMpilM1jGHrkRP87RnVr3R7g/jfecniCNAkp7/p1edSjWn0xkl7J0HS8KqjM3IRFZfTnkDrI1KLadsragIq1hxgHYfDrZHNUJGUMDaTvc/MzHXIBHjUNZiNR0NOiVHAiA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykD-0007wa-R5 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820530439 (code B ref 73106); Sat, 07 Sep 2024 16:57:05 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:45 +0000 Received: from localhost ([127.0.0.1]:57453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjs-0007ul-Sj for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:45 -0400 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:47475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjo-0007tp-9Q for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:41 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.139.191]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4k1BZwz1Y9m for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:38 +0000 (UTC) Received: from ghost-submission-55b549bf7b-b86kn (unknown [10.111.182.119]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E40B51FE06; Sat, 7 Sep 2024 16:56:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-55b549bf7b-b86kn with ESMTPSA id xhQ3JMWF3GbJuwkAJWjdqg (envelope-from ); Sat, 07 Sep 2024 16:56:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0023e333c06-a086-4e65-814f-0b5d446acd94, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:15 +0200 Message-ID: <20240907165626.22651-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9639392055238517474 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=7QvCQXaQe8qe6uxvwWrSW/kwu7T4fxu3gIcwyZltEew=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728198; v=1; b=cxsCkRLr4Jv3G90e98Zej55itVmo9BAouRuiDQToGYIp24z8UP1F7EwI2lGXjK9zBFH1hLmu HgJ2PfLOGf7UOP8dsnWnbfMbk1g5DnnbSeVQCePEwZRbcrLa8mzAEfsqDkO0i6S4hI5qk8qq0q1 9ry/895oKfBmE1zH7aVRbDaS0nuznjsu9HBTcYy82vYcirFqOsaHJB06qF2wGgEPhbGBRxpnBTw 3IWqGSOZ0KKTkhNjQhJjvM3Tb6vp859GPjmDTgn6XkjM7ffw5NQxCplRmYafiyoPU5m9ZoElkRC hvQj/0KttSPydZJ6J3ktW7cTYV/G3YSW02nXFd6QrsAvw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-io.scm (rust-numpy-0.21): New variable. Change-Id: Idae5915f3cefa47c16c4bf9a5679f55621e35da7 --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a8f090fd9..ba5cb75d2c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48734,6 +48734,41 @@ (define-public rust-number-prefix-0.3 giga, kibi.") (license license:expat))) +(define-public rust-numpy-0.21 + (package + (name "rust-numpy") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "numpy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x1p5x7lwfc5nsccwj98sln5vx3g3n8sbgm5fmfmy5rpr8rhf5zc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-half" ,rust-half-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-nalgebra" ,rust-nalgebra-0.32) + ("rust-ndarray" ,rust-ndarray-0.13) + ("rust-num-complex" ,rust-num-complex-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pyo3" ,rust-pyo3-0.21) + ("rust-rustc-hash" ,rust-rustc-hash-1)) + #:cargo-development-inputs + (("rust-nalgebra" ,rust-nalgebra-0.32) + ("rust-pyo3" ,rust-pyo3-0.21)))) + (native-inputs (list python-minimal + (@ (gnu packages python-xyz) python-numpy))) + (home-page "https://github.com/PyO3/rust-numpy") + (synopsis "Rust bindings for the NumPy C-API") + (description + "This package provides @code{PyO3-based} Rust bindings of the +@code{NumPy} C-API.") + (license license:bsd-2))) + (define-public rust-numtoa-0.2 (package (name "rust-numtoa") From patchwork Sat Sep 7 16:56:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67734 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 5E1D427BBE2; Sat, 7 Sep 2024 17:57:47 +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=unavailable 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 8253A27BBEA for ; Sat, 7 Sep 2024 17:57:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykG-0000tm-5W; Sat, 07 Sep 2024 12:57: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 1smykD-0000sJ-MQ for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:06 -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 1smykD-0001c9-D8 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:05 -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=a9IJwNMVg+UimD6j2vBkMVbhVqHLEOGWc4FfCSE2VJI=; b=tdhfhAHWQmBaox2bAIvAt4i31xV4P5ZfOcy2nzM01iZVZhEnNujLOwCMUViPDKblSnnY1Q/J6SrPzVlzjp5/aiRW8M8ya2/f9b55o5reJJVguDBgilIXmu+Q+NOrmqEWRZMNATZQpyQ9cS+a+txMtsbFak+AahmWAme88FF3cRxCfXsiWoYGRr9RzIoDsTuDZWUEP8HSRz8X76YxSR8PWAi3ymjzYdEYjIvkGyExzg5Ir07QE8k23gJdXkcGBunpt9eE/i3yxY9M7U89qDel0tSpv4ii5h/ghHo8sA36/Pqq4j7Q7YjVu5swaD2ppj6yyj+R0CCcbDjc1CfLqiSGnQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykE-0007wh-CC for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 10/10] gnu: Add python-tokenizers. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820630446 (code B ref 73106); Sat, 07 Sep 2024 16:57:06 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:46 +0000 Received: from localhost ([127.0.0.1]:57455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjt-0007uu-GF for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:46 -0400 Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:58157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjp-0007u3-7S for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:42 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.39]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4k6C6Sz1TJd for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:38 +0000 (UTC) Received: from ghost-submission-55b549bf7b-ttspb (unknown [10.110.168.221]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 992EC1FD63; Sat, 7 Sep 2024 16:56:38 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-55b549bf7b-ttspb with ESMTPSA id l+/lHcaF3GbMtgEAqJuKVw (envelope-from ); Sat, 07 Sep 2024 16:56:38 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G00690f40d5b-7c1c-4d9e-9646-f5bd876ddaf2, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:16 +0200 Message-ID: <20240907165626.22651-10-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9639392055524713186 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekgeejtdeigeeiteekjeeujeegtdekkedvgeehveefiedvieeuvdfhvddutdfgteenucffohhmrghinhephhhughhgihhnghhfrggtvgdrtghonecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=a9IJwNMVg+UimD6j2vBkMVbhVqHLEOGWc4FfCSE2VJI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728198; v=1; b=Ee/Ha59P81bFONZvRIPVu6pCN3BoDX/407gdnSifdym73CGq/c62N56WjXadxfXrhNlBgJyk DxtKpVtvkI3bsdo26nl7TmDcqiptFm3Pfn9jyX0G+BlDvoiUWjrchNkNlizEk1cXQy8wBzMVWtY jOfXOjrbD6oJJq6McPsK0BILuSMid1HExJTTAsdhE3kB/OVAKvF+9BaaVHBhZeOUtxOtH+Pcmou HgYP0PF4i20fFWmlVRDUynOdi5Us7UU+GSFWS2+9k/ToKMvtzUslR7yYkvLEmmH5Zy9jeLpHv3I MCg7jrXPopqiU91nN4+SRpP+6tZlZOuVocqWOcUwrwXvQ== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/machine-learning.scm (python-tokenizers): New variable. Change-Id: I5db95172255dc4635c2a417f3b7252454eea27d7 --- gnu/packages/machine-learning.scm | 111 ++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 3b601f6c91..412499d424 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5735,6 +5735,117 @@ (define-public rust-tokenizers tokenizers, with a focus on performances and versatility.") (license license:asl2.0))) +(define-public python-tokenizers + (package + (name "python-tokenizers") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tokenizers" version)) + (sha256 + (base32 "1qw8mjp0q9w7j1raq1rvcbfw38000kbqpwscf9mvxzfh1rlfcngf")) + (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")) + (delete-file-recursively ".cargo"))))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-test-flags ''("--no-default-features") + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils) + (ice-9 regex) + (ice-9 textual-ports)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack-rust-crates 'inject-tokenizers + (lambda _ + (substitute* "Cargo.toml" + (("\\[dependencies\\]") + (format #f " +[dev-dependencies] +tempfile = ~s +pyo3 = { version = ~s, features = [\"auto-initialize\"] } + +[dependencies] +tokenizers = ~s" + #$(package-version rust-tempfile-3) + #$(package-version rust-pyo3-0.21) + #$(package-version rust-tokenizers)))) + (let ((file-path "Cargo.toml")) + (call-with-input-file file-path + (lambda (port) + (let* ((content (get-string-all port)) + (top-match (string-match + "\\[dependencies.tokenizers" content))) + (call-with-output-file file-path + (lambda (out) + (format out "~a" (match:prefix top-match)))))))))) + (add-after 'patch-cargo-checksums 'loosen-requirements + (lambda _ + (substitute* "Cargo.toml" + (("version = \"6.4\"") + (format #f "version = ~s" + #$(package-version rust-onig-6)))))) + (add-after 'check 'python-check + (lambda _ + (copy-file "target/release/libtokenizers.so" + "py_src/tokenizers/tokenizers.so") + (invoke "python3" + "-c" (format #f + "import sys; sys.path.append(\"~a/py_src\")" + (getcwd)) + "-m" "pytest" + "-s" "-v" "./tests/"))) + (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 "tokenizers-" + #$(package-version this-package) + ".dist-info"))) + (mkdir-p info) + (copy-file "PKG-INFO" (string-append info "/METADATA")) + (copy-recursively + "py_src/tokenizers" + (string-append lib "tokenizers")))))) + #:cargo-inputs + `(("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-pyo3" ,rust-pyo3-0.21) + ("rust-numpy" ,rust-numpy-0.21) + ("rust-ndarray" ,rust-ndarray-0.15) + ("rust-onig" ,rust-onig-6) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-tokenizers" ,rust-tokenizers)) + #:cargo-development-inputs + `(("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs + (list python-minimal python-pytest)) + (home-page "https://huggingface.co/docs/tokenizers") + (synopsis "Implementation of various popular tokenizers") + (description + "This package provides bindings to a Rust implementation of the most used +tokenizers, @code{rust-tokenizers}.") + (license license:asl2.0))) + (define-public python-hmmlearn (package (name "python-hmmlearn")