From patchwork Thu Mar 27 22:14:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 40898 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 26EFA27BBEA; Fri, 28 Mar 2025 09:58:09 +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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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=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 9F4DD27BBE2 for ; Fri, 28 Mar 2025 09:58:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ty6Sv-00035d-LI; Fri, 28 Mar 2025 05:57:29 -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 1ty1Xg-0007na-RO for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42: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 1ty1Xg-00064U-Hb for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42: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=vdGRAYL1bW+nADeYgl5Uheg12Iz9Yfuotur5kH16FvE=; b=Cyi1x6pS/A9mNJRqa1yxkg51Ys2I3EXkdBjPl/Axmj2P33rpfksqmiQPMwIMqpDFsejWCyZxjqRaB+FBqHn6lf0IRR4V0CtsX2Ra6b9JKLu/43j9oSAewoFblN5UxET3ajK4SJ6knL1kLQ9jP5CfiYgV3/6y/PFyvNj9UfSzzuPhZYpxKC7n+IDf3W0RTKtSru1wmEmh0tY00XlBkq99tx2E82SfC5kvhBwVeGq+cKW0/QckWwDDQP23wiEsWEHSJlbJLHLL1kTAc9ar1k34+AgmJ5GUZoFNt2wP8nRxZ/p8W+0B5609EifRpXZ2pw4ci0L3QGtcitKCI8cMrLjO7Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ty1Xg-0002LS-CU for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77040] [PATCH v4 03/12] gnu: Add rust-siphasher-1. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Mar 2025 04:42:04 +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 , gabrielsantosdesouza@disroot.org Received: via spool by 77040-submit@debbugs.gnu.org id=B77040.17431368728827 (code B ref 77040); Fri, 28 Mar 2025 04:42:04 +0000 Received: (at 77040) by debbugs.gnu.org; 28 Mar 2025 04:41:12 +0000 Received: from localhost ([127.0.0.1]:52258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty1Wp-0002IC-IQ for submit@debbugs.gnu.org; Fri, 28 Mar 2025 00:41:12 -0400 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:53666) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1txvZU-0003dz-HT for 77040@debbugs.gnu.org; Thu, 27 Mar 2025 18:19:33 -0400 Received: by mail-pj1-x1043.google.com with SMTP id 98e67ed59e1d1-2ff69365e1dso2012887a91.3 for <77040@debbugs.gnu.org>; Thu, 27 Mar 2025 15:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743113965; x=1743718765; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vdGRAYL1bW+nADeYgl5Uheg12Iz9Yfuotur5kH16FvE=; b=YP8NMBaCBaHvTDLLDzTdmH0BuEdiB0p75UNMEDfMIu+1bUexz+swhx48ath3DuoLey M/5T6AR+KHGxCCZyBibFmFQEEoFL2aAHn3OXFcTIUpOXcWMQ+AMcFi3+6+BGRI/rSb0c EraYIry09CSXqI2m30zDBvVS6pkLlYHC+Tz49TMWJ/L0HxzRnBKKeoyXcsaYkNpOw2Up auZn4xUfevg2HMIcYkUxcPM1xP11iNYi94bk6p8CgKg2/THY0AWVq52asG7auzRoLYRH bD2//NGSplLEMinHV+86O/A2Li9D1svHNKnWpw4G1YsNh2dm7DPtw69h1/1aaZCc5X4g BKpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743113965; x=1743718765; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vdGRAYL1bW+nADeYgl5Uheg12Iz9Yfuotur5kH16FvE=; b=jTxBGe7rNZUSkcm0LYsSqQ9MHbxpo+zME5KWyi1xXCgm5z0FoSW3vf42+T73lq8gvd NoP82W2T/e7257kEN3mQ045Oekr64JxIvboeJ3nStXeHinGowA4XTqLRBh0SuoH+08VT iYcQMv7k3MFMZKeE7yTmFoqh6pqs/w9Y7MLQxg9Iyp9XU6WqIYQPhwybZV1XFk9/iyNR 75l3g7dKc4IYeaiiBySmri/MMjOQ2eTtmnvBWTQ2wPkIt1qY5ZrDy0u9Vh2LTGab/RkB hRJ/P5zd3Ed+10+WeBIiunh/y2YPqfKT9dOXugyw/0U3YempWB9qr6bblE4xOKLrQgET Q7hg== X-Gm-Message-State: AOJu0YybZn8/KXtYJzek+Hg0v6ihK1iyNdtvBS9RUEYshq5xQ+PnEIN4 izuX/EHiJ4mT3Vb+BK9nd8/cXsi9dFNMy7oojQlils9dJznxmg96k2dNboY/3feeLZ/g X-Gm-Gg: ASbGncs3qiQ7Xwx2kSeTWUYIYznOlLOag9fRMxwjmz6I7km0yMUUGSfYb8TyUdu95TK ji0ZJ4K6yzIYisDsgiyie8ktEQvJXQZW6sfg5xFZ4rlAOo8+dvisrSzi4AJDb/8zA5LehgxMPq1 WK9s7OgTgZF050B9Gvo1untHFdloz4+Yg0kDa9J6qYG5V2/UWfAk9BgACqz8nEDnRkRwzecr0h/ Av4YXlIaEArda6q2KlCSZfStDcUVOJGeSgQCkgTcpkwuu2AR1+FM2CBx6UjY0BoMwaAwmbf8qzB gUssUyKrU6aL8sM4tOMPtpIA2QF/cOECTqjkvugNJ+8FI7JVJDgWB1d9tVzDofRUUMFv3u6QLUD waSQTXDattA== X-Google-Smtp-Source: AGHT+IFMWWp/3IH/GNcPxVXCksCeBZDe9yyVuYVH5UN1lr4pfw5sPhYUdxVxHcLZB4lp/9FriPjVzg== X-Received: by 2002:a17:90b:2b8b:b0:2ee:ed1c:e451 with SMTP id 98e67ed59e1d1-303a7f6eb38mr7988707a91.15.1743113965274; Thu, 27 Mar 2025 15:19:25 -0700 (PDT) Received: from localhost (177-70-164-151.infotec.psi.br. [177.70.164.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-30516d5786dsm506525a91.11.2025.03.27.15.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Mar 2025 15:19:24 -0700 (PDT) From: Gabriel Santos Date: Thu, 27 Mar 2025 19:14:00 -0300 Message-ID: <20250327221833.21312-4-gabriel.santos.smtp@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250327221833.21312-1-gabriel.santos.smtp@gmail.com> References: <20250327221833.21312-1-gabriel.santos.smtp@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 28 Mar 2025 00:41:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 28 Mar 2025 05:57:25 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: I910ec8752fd9b470532b4ca520c72c1c36afc013 --- 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