From patchwork Thu Mar 20 21:25:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 40536 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 81B0827BBE9; Thu, 20 Mar 2025 21:36:34 +0000 (GMT) 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_DNSWL_BLOCKED, 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 3C24427BBE2 for ; Thu, 20 Mar 2025 21:36:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvNYk-0005UL-Qv; Thu, 20 Mar 2025 17:36:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tvNYe-0005TH-UC for guix-patches@gnu.org; Thu, 20 Mar 2025 17:36:09 -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 1tvNYe-0007nZ-Hh for guix-patches@gnu.org; Thu, 20 Mar 2025 17:36:08 -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=/VoVxlCSG840xELWuMn001YL4SOijqZ4yN9fi8jpjUY=; b=bks5PD6AaOSiLP5itQcLAAQfuXK/oGo/W3/rPgZv8hkIkmBWPQQWM9iGrSJdq95/7terV1TVp3aV7mjNeZTGlMx+2hOK3LiVsA5ayQtQaRK30XHpKm5byDmfUlZy4LlfTPrRm1ezoaID9s4MYPYUOeOkbbbRxucvKTp84jItua3ky3lUqU/Y4srRKkqs0tm6dWOp7rqaE+oxGA3EW92PbECHMZC2VIkXsl3bXYf2EdohOG0unroKrCUDOEbP7z/BSAi4FgS3kYHoYGWmif9jDRt4OOZ/GqhftsNpl88fwUaDoTL1zFKDtn8+E375zHmxeV3nyWsTS5jrVsg00mGTGg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvNYe-0005xY-5u for guix-patches@gnu.org; Thu, 20 Mar 2025 17:36:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77040] [PATCH v3 03/12] gnu: Add rust-siphasher-1. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 21:36:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77040@debbugs.gnu.org Cc: Gabriel Santos Received: via spool by 77040-submit@debbugs.gnu.org id=B77040.174250656022809 (code B ref 77040); Thu, 20 Mar 2025 21:36:07 +0000 Received: (at 77040) by debbugs.gnu.org; 20 Mar 2025 21:36:00 +0000 Received: from localhost ([127.0.0.1]:59276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvNYV-0005vh-JE for submit@debbugs.gnu.org; Thu, 20 Mar 2025 17:36:00 -0400 Received: from layka.disroot.org ([178.21.23.139]:34102) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tvNYS-0005vW-KI for 77040@debbugs.gnu.org; Thu, 20 Mar 2025 17:35:57 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ADC0B2616F; Thu, 20 Mar 2025 22:35:55 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Wh8AOm7_Tbtw; Thu, 20 Mar 2025 22:35:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1742506554; bh=N9BXSj/UtZ/YdmCIUy5naJEZWo6E5yAMZ2dfZ+FXlqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=T4A9uBbriCRNlyLU7Qe9A17ZRT/6olasX1BFlDn7aYeM67o8sdgWW/Wo9Om4sVCfb FA5QE8Yh8ZIuc9Yxn55ntvam1xM8FZ+n06MFLWO6NSz1lBpHuN2xo8PQmG3bN1p3Df F6WDzrdDfWUp7lRaeYY65xbDS/kbw9/qbSyxeaO1fVjaf8b/8060kY262A0yhfI8r7 IHGjyY8g2tsPswK64pI/V1T3bT2NgrzfL0Y6CyRbrIHPJ5ws+BybCnYrZQs93yHDbp I4y0/gzBTxoMerc2EwgrZUowHHDWzV3PUARsRsWlmKfYMOzsesh48FKBnYKGv+VWKc Z73EX1X66C2IA== Date: Thu, 20 Mar 2025 18:25:08 -0300 Message-ID: <20250320213508.28485-4-gabrielsantosdesouza@disroot.org> In-Reply-To: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> References: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Gabriel Santos X-ACL-Warn: , Gabriel Santos via Guix-patches X-Patchwork-Original-From: Gabriel Santos via Guix-patches via From: Gabriel Santos 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-siphasher-1): New variable. * gnu/packages/crates-io.scm (rust-siphasher-0.3): Inherit from rust-siphasher-1. * gnu/packages/crates-io.scm (rust-siphasher-0.2): Inherit from rust-siphasher-0.3. Change-Id: I62a11983194cdbe05739d488c1939cd7315cdf53 --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b5b0565cee..f05483270b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -74124,17 +74124,17 @@ (define-public rust-simplerand-1 (description "Simple and fast random number generator.") (license license:expat))) -(define-public rust-siphasher-0.3 +(define-public rust-siphasher-1 (package (name "rust-siphasher") - (version "0.3.11") + (version "1.0.1") (source - (origin - (method url-fetch) - (uri (crate-uri "siphasher" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03axamhmwsrmh0psdw3gf7c0zc4fyl5yjxfifz9qfka6yhkqid9q")))) + (origin + (method url-fetch) + (uri (crate-uri "siphasher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17f35782ma3fn6sh21c027kjmd227xyrx06ffi8gw4xzv9yry6an")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -74146,8 +74146,23 @@ (define-public rust-siphasher-0.3 variants in pure Rust.") (license (list license:expat license:asl2.0)))) + +(define-public rust-siphasher-0.3 + (package + (inherit rust-siphasher-1) + (name "rust-siphasher") + (version "0.3.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "siphasher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03axamhmwsrmh0psdw3gf7c0zc4fyl5yjxfifz9qfka6yhkqid9q")))))) + (define-public rust-siphasher-0.2 (package + (inherit rust-siphasher-0.3) (name "rust-siphasher") (version "0.2.3") (source @@ -74158,13 +74173,7 @@ (define-public rust-siphasher-0.2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1b53m53l24lyhr505lwqzrpjyq5qfnic71mynrcfvm43rybf938b")))) - (build-system cargo-build-system) - (home-page "https://docs.rs/siphasher") - (synopsis "SipHash functions from rust-core < 1.13") - (description - "SipHash functions from rust-core < 1.13.") - (license (list license:asl2.0 license:expat)))) + "1b53m53l24lyhr505lwqzrpjyq5qfnic71mynrcfvm43rybf938b")))))) (define-public rust-sized-chunks-0.6 (package