From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OG1gMQSG3GZKmwAAqHPOHw:P1 (envelope-from ) for ; Sat, 07 Sep 2024 16:57:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OG1gMQSG3GZKmwAAqHPOHw (envelope-from ) for ; Sat, 07 Sep 2024 18:57:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VNzMs9sr; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=BbuGtVcC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725728260; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BvZXI7Kb1TDfr8xhZt9JdpMiuYj63axvJhZ3Fc8ENp4=; b=Ipf2jaJ2D2Ex+NV+crTGAvPfVTzdeh1j2MsgvcYbaEz6qlwgIwRye/k3MarUoCZMUiTjJF KtTwyqvM3Iwbnp2W0Z3kRltHqsggEoC69gYwtAxhKkfRrwLjQi+kkHMgpSqiJhaqkQZiGs 3nWW7V8KcOcBZelR+ARkz7H5hLimyAMpmyImd3o8ePV31WAYPCOwaLqZqpaISj+0AN+zOX zAcrgfiEK/wcVJo3FeyHY5Pf2CGG9R9EkxuJ0ABz6sMgE4d+xot5QTMIsnQifBLfk4VFvj 2Jepw78OEMaI6ooIm1I4AFglIXhg/SJPzaDpwbRoegiyIR8JYB4HXTAHnQnZVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725728260; a=rsa-sha256; cv=none; b=D/6z3D4QzTRZu+gVKdo7vFDTRTVZhnPFvtYPxmFH7JO/agKlC7pSDVVOVGp52VrWA92fUl 4eD9KId/ELX9rKE2g8MPkQSjGUo5fRoLs+JbOTBaKnfqpc8zXjwqr3K4A0fNzYx27KEohW paSSrH5B41tsJn4KWf2dJ8ktMrHjkt30moRcZKWd23KUjqz2YA4wjR4UMMFQUUttFLUTnQ Z+Je82FSPjUStZcxVx6M2ZnQmoAvglJj/4XDLXFs+/ZJ4ozzUfzxZCpmi24+v7O5VZGyGW BBu9awDsKlzj6fiw7H1m5ipXF2YRW6SfrFrKv/RXdMmuWcqNRxutIEpF4NGFUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VNzMs9sr; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=BbuGtVcC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9C2736E9FD for ; Sat, 07 Sep 2024 18:57:40 +0200 (CEST) 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 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 Content-Transfer-Encoding: 8bit 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.49 X-Spam-Score: -3.49 X-Migadu-Queue-Id: 9C2736E9FD X-Migadu-Scanner: mx11.migadu.com X-TUID: jofQcwdqI1bH * 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") -- 2.45.2