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 mOQ1KnT3rmWzbgEAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jan 2024 00:17:08 +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 mOQ1KnT3rmWzbgEAqHPOHw (envelope-from ) for ; Tue, 23 Jan 2024 00:17:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=KcQ6e9T4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705965428; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=dkeF9kbm9dH/orv3UM9mqHZ3myQzpYIvr5tSnFKy8WU=; b=sXWpsaO0sjKXOZqWT94xupnVHJuyzOY0kAPUQ2w/ZJiBK5xdM1IdfZ+GmhzCswsoo525UX u5Kfq568BTyik7HOKXj0Jnmcl6lwFCE32KA/+3GixwV+J4f0IaT5ekzaui9ZyOzA+GN0+C zocNIn5qP/dLCwSmkra08Erx45GGky3XbptPRWfROaVf3pjQUeMRYhjeBIMoLdDaKQmqxR qqZOYQJrg9JRV4IGwuJdGgFsA3U3IEj7SAbROKoyzhI0lLizhCqj0P5BJOsmPKXfbodY3Q ow2FRIyKv+z9UQtctUOwA3ORLb6LCbV3ig2wuiTWed01Lx+2IA9I13BSUqn4ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=KcQ6e9T4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705965428; a=rsa-sha256; cv=none; b=QAe+qD+zEsB/HTv33Xwgb1nZEw6ZiUf7ov5HZdVfj+JUkzpEZGPuh7a1Ld6Rb50aPXAlxj UvsbmzIhHrJSffqlvgsYsG/Pp3+AFXUuvrpQENo08pjK+NNV97MgPwThm4QpmCESrel9bZ pseL+8cLqVlJgy+WjvIHwYpqCqDdE6/cM5/HgwSEZGfnWMkuLlvJGIWvX1SkDEcEsbNWvt +2wD2jCqHCifIjB1jKX0mCJ1E3X93gy/hMGt0kGCQYvJ+ykqKkPuoAAYOPW5+bSLsqKoWf K3Ezq8I0b6mue4S6zvnOP2xsILCFSmPwnDfzZCl+g+pjSDsi1M8TqR4emvhRKQ== 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 7359251C88 for ; Tue, 23 Jan 2024 00:17:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rS3XH-0004P7-CO; Mon, 22 Jan 2024 18:16:59 -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 1rS3XG-0004Oo-DA for guix-patches@gnu.org; Mon, 22 Jan 2024 18:16:58 -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 1rS3XG-0000RG-35 for guix-patches@gnu.org; Mon, 22 Jan 2024 18:16:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rS3XK-00032w-BT for guix-patches@gnu.org; Mon, 22 Jan 2024 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68665] [PATCH 09/12] gnu: Add rust-libdeflater-1. References: <877ck1hslb.fsf@troyfigiel.com> In-Reply-To: <877ck1hslb.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jan 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68665 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68665@debbugs.gnu.org Received: via spool by 68665-submit@debbugs.gnu.org id=B68665.170596537811617 (code B ref 68665); Mon, 22 Jan 2024 23:17:02 +0000 Received: (at 68665) by debbugs.gnu.org; 22 Jan 2024 23:16:18 +0000 Received: from localhost ([127.0.0.1]:41942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rS3Wb-00031H-J9 for submit@debbugs.gnu.org; Mon, 22 Jan 2024 18:16:17 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:44628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rS3WZ-000314-Pz for 68665@debbugs.gnu.org; Mon, 22 Jan 2024 18:16:16 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TJmLD0F05z9slk for <68665@debbugs.gnu.org>; Tue, 23 Jan 2024 00:16:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1705965364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=dkeF9kbm9dH/orv3UM9mqHZ3myQzpYIvr5tSnFKy8WU=; b=KcQ6e9T4WrP5K6296aM9n1jt9PEhVnNncwFNKzVbCd3eoxJ9pRmFjiaNZavXmliyI94OiN 8VffDR9kpevl2aM9801XY5p5Nk2HT2B3cV9Xos0fHNN2pSosI8eRlZIPonc3iAocA3wZYw VeqWLfuI2L4Hoeu64If6X5uORNXXyQ+tpRAL4J353gVJBEL5ryteclpPGc0YKnbujwsD+J 8wF2n5QQhoLr0Qli1jdzfEwOil8AlSnWzPaMeb//AKIOhfe4n5PUiUXvCElLjpU9q7zkoC k4u46BkEkKDUXGf1X5N1ZFW/YG+OPAg9XBQyYcLn7rnXTMMESFDcPfE8116Ctg== From: Troy Figiel Date: Mon, 22 Jan 2024 23:20:25 +0100 Message-ID: <87ttn5gdsc.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4TJmLD0F05z9slk 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: , 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: 2.14 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 2.14 X-Migadu-Queue-Id: 7359251C88 X-TUID: J36f5M0qH21c * gnu/packages/crates-io.scm (rust-libdeflater-1): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a25e3baa51..2ee1c2fec3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32409,6 +32409,31 @@ (define-public rust-libdeflate-sys-0.7 (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) +(define-public rust-libdeflater-1 + (package + (name "rust-libdeflater") + (version "1.19.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflater" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zdbiqq2fmjakwk7d1xwnakjnxzaba9rz18k9clyql13cqpv4c9s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libdeflate-sys" ,rust-libdeflate-sys-1)) + #:cargo-development-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-flate2" ,rust-flate2-1)))) + (home-page "https://github.com/adamkewley/libdeflater") + (synopsis "Bindings to libdeflate for DEFLATE") + (description "This package provides bindings to libdeflate for DEFLATE +(de)compression exposed as non-streaming buffer operations. Contains bindings +for raw deflate, zlib, and gzip data.") + (license license:asl2.0))) + (define-public rust-libdeflater-0.11 (package (name "rust-libdeflater") -- 2.42.0