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")