From patchwork Tue Nov 5 23:14:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69894 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 4530927BBEA; Tue, 5 Nov 2024 23:16:55 +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=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 07D1527BBE2 for ; Tue, 5 Nov 2024 23:16:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmN-000365-Un; Tue, 05 Nov 2024 18:16:07 -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 1t8SmM-00035H-Fw for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -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 1t8SmL-0002G1-G4 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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=phcV+O7t8wHaYBJDeLqwb3UgDYEhH1ly2UPru7PvyVM=; b=mYTtxQAwRNXKZaebdfrBEdCbxedcotojygkFQSSRjwX48O6omPOP93KXXHvzfWxwGUpv1kCedn1GIrha9pRRuBar3P7OfuSex6HKMUOCabcrm+S6mU6alYYOXrPY+i4ths1Tbk+0MzpWUb32UDvmwcWi68CYRO/UUTpvm5sYQAEFAZwE7pK8uevZXSrrYszk7MYleT1Q3FTk6tFg278yCtXN0IVogITf6Rkzimr/DCLBGS3RhqYgSS/JTxx28pejC5hJk/e6anTE3J3EHV5w4pNvAkCixJO+EqtbKXElQVV3jHLaN2/ddwRTN8ao0gRmflXNEw+XSbv8uylGpZBMpg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmL-0004LY-BW for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 07/20] gnu: Add rust-hamming-0.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084856216657 (code B ref 73896); Tue, 05 Nov 2024 23:16:05 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:02 +0000 Received: from localhost ([127.0.0.1]:38421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmI-0004KV-5G for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:58823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmF-0004K8-Ig for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:00 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.97]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjB3cvPz1HcV for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:58 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-lqqzh (unknown [10.110.178.46]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 544B51FD54; Tue, 5 Nov 2024 23:15:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-lqqzh with ESMTPSA id G23jAC6nKmcjLQAAY2owgw (envelope-from ); Tue, 05 Nov 2024 23:15:58 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G0049c60a64b-69f9-436c-a2c1-e1ffff3ff5ec, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:55 +0100 Message-ID: <20241105231519.22378-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12046566053461943010 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=phcV+O7t8wHaYBJDeLqwb3UgDYEhH1ly2UPru7PvyVM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848558; v=1; b=CyYFuZr9w8oJUlFzfB1IbTyrGIYLygWh477PwT6KswSRWD/eGEXC22sO3mtf95dkXC3cj3O4 AHDok/nrt3rnwpAl1hqJSWPi1SCJN+8Ld7R26ItUjl00F6TvZiKlobRMXTqKnZgrY6RZhhhnnfU KL5wwRpyqtzRCgc7Eoqdvor8aNXsIL+Zr2kHjmHr0ERrBNHJ42tukP82UAllBznO5xjPOj4xhp0 kI4wN5JA7rjN1OZVlmm4GclhZQuBGBqt2BzTcJjuP4iYhYY0MdkaHLoPmfXrh5wItT2ov1C/YMy rTZbXZZgdIQgkIQ1H3gkiBWhcO9YxP4d5It95+8FLoRAA== 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/crates-io.scm (rust-hamming-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7124b088d..e551600dc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31388,6 +31388,30 @@ (define-public rust-hamcrest2-0.3 "This package provides a port of the Hamcrest testing library.") (license (list license:expat license:asl2.0)))) +(define-public rust-hamming-0.1 + (package + (name "rust-hamming") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hamming" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.2) + ("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/huonw/hamming") + (synopsis "Count ones fast") + (description + "This package provides a tool to count ones, using rapid popcount +(hamming weight) techniques. This provides a performant popcount and bitwise +hamming distance for a slice of bytes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hash-hasher-2 (package (name "rust-hash-hasher")