From patchwork Tue Jul 9 23:36:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 29117 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 28A1527BBE9; Wed, 10 Jul 2024 00:41:02 +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=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 455C027BBEA for ; Wed, 10 Jul 2024 00:41:01 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRKRk-0007lr-7H; Tue, 09 Jul 2024 19:40:32 -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-0007NM-2O 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-0007rb-KY 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 1sRKRN-00026C-Bn; Tue, 09 Jul 2024 19:40:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72021] [PATCH 15/38] gnu: Add rust-libz-rs-sys-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:09 +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.17205683657673 (code B ref 72021); Tue, 09 Jul 2024 23:40:09 +0000 Received: (at 72021) by debbugs.gnu.org; 9 Jul 2024 23:39:25 +0000 Received: from localhost ([127.0.0.1]:54363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQe-0001za-VH for submit@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:25 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]:59292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQV-0001vP-MA 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=1720568344; bh=6JXx6KDKCC5rvtxemz86AQhYsyDmM4HozQRqDi1tMKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=capclS4r/y+zwJ9Xg1GgPLDfJ/JoNTpbERPQQcVaMFNvY6iWiFlKczPewREas6UuB QhjWH8cjlo1Rv5fwB5QpvZqvDcE1xAB5N7yuLYX0KUXEKeF2sF2oMcJUAUeJPuXp5W NyqYDW/Fr/w7dSUIJ46zo2TOvAHEjgMnM5Cr0UxQ= Date: Wed, 10 Jul 2024 01:36:55 +0200 Message-ID: <08cf4f957e532e20171bb8c27b20421334119935.1720567734.git.w@wmeyer.eu> 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-libz-rs-sys-0.1): New variable. Change-Id: I9c4a901d5ed8d375b048b12e9112972fade0614e --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3f7aa4b1db..03a3291fff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38995,6 +38995,29 @@ (define-public rust-zlib-rs-0.1 "This package provides a memory-safe zlib implementation written in rust.") (license license:zlib))) +(define-public rust-libz-rs-sys-0.1 + (package + (name "rust-libz-rs-sys") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-rs-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a1vx9gpyc6aizq7d1v76lribxchqkfxc3295a4z7q0b4lil8g6d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-zlib-rs" ,rust-zlib-rs-0.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")