From patchwork Tue Jul 9 23:36:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 29121 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 BD7F627BBEA; Wed, 10 Jul 2024 00:41:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 4112127BBE2 for ; Wed, 10 Jul 2024 00:41:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRKRi-0007kN-Ob; Tue, 09 Jul 2024 19:40:30 -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 1sRKRK-0007NK-1b for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:06 -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 1sRKRH-0007nF-4A for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRKRM-000263-QH; Tue, 09 Jul 2024 19:40:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72021] [PATCH 14/38] gnu: Add rust-zlib-rs-0.1. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 23:40:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72021@debbugs.gnu.org Cc: Wilko Meyer , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72021-submit@debbugs.gnu.org id=B72021.17205683657665 (code B ref 72021); Tue, 09 Jul 2024 23:40:08 +0000 Received: (at 72021) by debbugs.gnu.org; 9 Jul 2024 23:39:25 +0000 Received: from localhost ([127.0.0.1]:54361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQe-0001zT-Kw for submit@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:24 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]:59290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQV-0001vH-9X for 72021@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:17 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1720568343; bh=bd34K3oHVr8kVgVRPmP5S8CILzBeD2N8sDUxJ4SobnE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YqfPi4SaJB6fjzacxgqgmYi5pbJWbyLafhPwqblYEkMYnULZ8yg+cmpGTCobokpC5 v7PIuyI3+wrxyBpBgv9cYZkzhAARh3hqe+s0i98BNHfF7qbRE0r8MoUFRTQV7Qk0P2 +ouSm49hAwZ/swKsT+pB+zUdR3Mu2IbgcUsYkqZ4= Date: Wed, 10 Jul 2024 01:36:54 +0200 Message-ID: In-Reply-To: References: 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: , 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-zlib-rs-0.1): New variable. Change-Id: Ie0246811a1ededb68a70b319fdc569656bc52351 --- 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 771ff45e67..3f7aa4b1db 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38971,6 +38971,30 @@ (define-public rust-libxml-0.2 (sha256 (base32 "1xx1bsay6c0jy9vi7qcvliidya33lvbkxwpdfz9qmzl23f11xxxh")))))) +(define-public rust-zlib-rs-0.1 + (package + (name "rust-zlib-rs") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18a49npwcrpbvsxs3dzk51kizd81qffnaxjqfn4fqq37vki0a8f5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://github.com/memorysafety/zlib-rs") + (synopsis "Memory-safe zlib implementation") + (description + "This package provides a memory-safe zlib implementation written in rust.") + (license license:zlib))) + (define-public rust-libz-sys-1 (package (name "rust-libz-sys")