From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MLFgGDeG0mVBUgAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 23:35:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MLFgGDeG0mVBUgAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 23:35:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=MRw7Tc16; 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=1708295735; 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=jxZ3//UjkpILsTcgDWQgLDPQlKu+Iu9gpKkdl4fAp5I=; b=Anohqepzgnb9DkGGwv0l0gMv2PC9tqAbV8pXFU+Jx2Ofzm9DTbf1voTJTX3NSN9FbhPl3y RQPhDrxovhY8AG4LdZVcWkf4UrzN4K2rWi0sJJqjJ9j9QFWV5j6+f5vCj84td5mlxKY9N8 S781SN1ZhLOOcFl9FRzO20QG9xz6bmwaEzON+ispLg+1Q1x+K6HQwhkVjxXC9i238o2ZUy cdpl8oiqXUaqCpTSmtgKQzk/yFy7kl3Rj/riGBF1SkThcgK3edswaHqHMlXykJQiCBYfvX 0sA3SW8mUom+Ytphjvn7Ef2B8N08KQ+cXiYaH/aCWtOfHdM1N8Wj4E9WKFRIMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=MRw7Tc16; 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-Seal: i=1; s=key1; d=yhetil.org; t=1708295735; a=rsa-sha256; cv=none; b=T5HfYzdoPXt5UvsPtazUW7goUJMyeSPurhRPT/pOWpIaU4LzcF3gVhw1XNeMlV2gkDnJ99 VU980mWjvRTsPScf+XQtfkhsZVLCB+DsrhFZ+UISTl4RRuPWGeGDI2XVXdl7C0Ykf16qXY oVCS8M0pebkTKoHCvu5fF6lBho/D+upYWQCQxuW0IzEO0VbObEtkyxbCsZZiV9WL7JAdmA 0dOwBsCGVDIYIT/6bqnVb5M8fyWlXNjhDHCd0vl8ICdvHJ/kD1uMBa6kT4mvjpPWKhDorF VLcniOIXE9QVczDe9aEY3DzfDu7+V55fTHBDrG8j4c/e5vUtvUFXh1bE/YQmdA== 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 4BB4844DF4 for ; Sun, 18 Feb 2024 23:35:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbolU-0005SG-RK; Sun, 18 Feb 2024 16:32:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbolH-0005Fh-2l for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:48 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbolB-0002UN-NG for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbolW-0004N1-9w; Sun, 18 Feb 2024 16:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 189/228] gnu: Add rust-bs58-0.5. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829187516065 (code B ref 69257); Sun, 18 Feb 2024 21:32:02 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:31:15 +0000 Received: from localhost ([127.0.0.1]:39402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbokk-0004Al-GS for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:31:15 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:39423 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRv-0003F5-1b for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jxZ3//UjkpILsTcgDWQgLDPQlKu+Iu9gpKkdl4fAp5I=; b=MRw7Tc16GtCQJSEoFtu3CdJ3GAp7SAYgYFLABCjE5Z5Kc7xQ7/ZRUyeojGwmBQVUo5XKKX Y/kztIkMvGp/loK9umBCJOtBpRZUGXYeeh4y0fABdbcRvuWa+4fa+3RHYH2+pyjm9ysv3d EtVBzs9GLh1OEA+xvO4kp0WaEZexsftXBlnt0lvbfKHqeCEDHumNF05LfdjAIW6HdJVBW2 X2QYGbSlwmn+XCPWJMRiiuzEdPKk7RacUru5VqHib2ydTYffHW03Ad4iLz0siB7r7wzAn6 37HSxAFaObkG1qsF1chTMWLUt1puRi8drGPifSbbaTHK3seIWozf285XQ7ivBg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0f59329b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:11:24 +0000 (UTC) Date: Sun, 18 Feb 2024 22:09:19 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm 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: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: 4BB4844DF4 X-Migadu-Scanner: mx13.migadu.com X-TUID: xK4kbWHNivas * gnu/packages/crates-io.scm (rust-bs58-0.5): Add variable. (rust-bs58-0.2): Inherit from rust-bs58-0.5. Change-Id: I06a95ce256d22f0a724abbae9f86db47d9e90483 --- gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 52add0344c..16d81bd4d5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8141,8 +8141,41 @@ (define-public rust-browserslist-rs-0.6 (description "Rust-ported Browserslist.") (license license:expat))) +(define-public rust-bs58-0.5 + (package + (name "rust-bs58") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bs58" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15kqgld75z03srq6nzsdgraakhvap5avgw364h352x0z6hv3ydgm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tinyvec" ,rust-tinyvec-1)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-base58" ,rust-base58-0.1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rust-base58" ,rust-rust-base58-0.0) + ("rust-tinyvec" ,rust-tinyvec-1)))) + (home-page "https://github.com/Nullus157/bs58-rs") + (synopsis "Another Base58 codec implementation") + (description + "Another Base58 codec implementation. Compared to the base58 crate +this is significantly faster at decoding: about 2.4x as fast when +decoding 32 bytes, almost the same speed for encoding: about 3% slower +when encoding 32 bytes. @code{rust-bs58} is not limited to 128 bytes +and supports a configurable alphabet.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bs58-0.2 (package + (inherit rust-bs58-0.5) (name "rust-bs58") (version "0.2.5") (source @@ -8154,23 +8187,13 @@ (define-public rust-bs58-0.2 (sha256 (base32 "125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.8)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-base58" ,rust-base58-0.1) - ("rust-rust-base58" ,rust-rust-base58-0.0)))) - (home-page "https://github.com/mycorrhiza/bs58-rs") - (synopsis "Another Base58 codec implementation") - (description - "Another Base58 codec implementation. Compared to the base58 crate this -is significantly faster at decoding (about 2.4x as fast when decoding 32 -bytes), almost the same speed for encoding (about 3% slower when encoding 32 -bytes), doesn't have the 128 byte limitation and supports a configurable -alphabet.") - (license (list license:asl2.0 license:expat)))) + ("rust-rust-base58" ,rust-rust-base58-0.0)))))) (define-public rust-bson-2 (package -- 2.41.0