From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aAgfNFoOLGUiMAAA9RJhRA:P1 (envelope-from ) for ; Sun, 15 Oct 2023 18:07:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aAgfNFoOLGUiMAAA9RJhRA (envelope-from ) for ; Sun, 15 Oct 2023 18:07:54 +0200 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 6B8404290D for ; Sun, 15 Oct 2023 18:07:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=GUW6ShQb; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697386074; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OcN+UxgDrT5pZUFkvJWzpDTCqdll9xgrhRLB9c6CyXw=; b=biYf5+JMipefAhdy0wj+15Dk0A1R3bkOCispIAFKiLMSEzifl9jRcAEVaqHYuO1wZo7WP6 8XrOvAa2XbidJCE1hnMOKK46M9TTCq+FdHGHoBd8Ju1pOLmpXxrn91DJ2UrT8jqJHPC2Dq wEG8Pk1z1+YRIfEKtZE95kJ5a85qACs5ulNXjeDn0OmhcsJJUCvWfm2sTWtagRPhEisx5F hPuLth31oCYCUzfW6CqeektdrjdONt7zboS/TSYL13vUPlJGrRh90qBaJ+h9AwEoQf3EXL LvXjdRwi6F0lwuskemqNTcHmMctPEI97CYh1elx6INCRiqXBGlEpdXpZVKTzRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=GUW6ShQb; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697386074; a=rsa-sha256; cv=none; b=LQ/U5Bt5inMr6vWtfCDz3UfaMUNlPiEF5//GZvGOykZFuSs7WGyz6VkS+sJY8LzZkwF4zc PQs+cUoZxP79SkAPYXNr+frf0gFguXXNhScKk8hvb/SU6aMD3LGO0o2E2AIYd+iRv7zTpJ OZ20U0ip+PYwaAILS92RkMD9mdZblVG9EdKnJOd31TqgYsmAhSggOoQINapBUwr1WZee+9 WiSp+jYpQ9lwqZpxsdGw4xp1RClyiUhh9oR1XGYpqdqozwgrxgESN9b/dMxTYzsjGVXfNI wtDajNS6Wvg107NbVC7FNu4LMi7BQBFOupSOkmUTEja9MUlQLQ9fL16m5lSM4A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qs3eY-0001ab-IT; Sun, 15 Oct 2023 12:07:42 -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 1qs3eV-0001aS-Bk for guix-patches@gnu.org; Sun, 15 Oct 2023 12:07:39 -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 1qs3eU-0002H1-6m for guix-patches@gnu.org; Sun, 15 Oct 2023 12:07:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qs3es-0003HX-Dd for guix-patches@gnu.org; Sun, 15 Oct 2023 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66563] [PATCH] gnu: Add rust-bzip2-rs Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Oct 2023 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66563@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169738607212594 (code B ref -1); Sun, 15 Oct 2023 16:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Oct 2023 16:07:52 +0000 Received: from localhost ([127.0.0.1]:53987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs3eg-0003H0-Mb for submit@debbugs.gnu.org; Sun, 15 Oct 2023 12:07:51 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs3ea-0003Ga-Fx for submit@debbugs.gnu.org; Sun, 15 Oct 2023 12:07:48 -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 1qs3e6-0001Zd-HT for guix-patches@gnu.org; Sun, 15 Oct 2023 12:07:14 -0400 Received: from mr4.vodafonemail.de ([145.253.228.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs3dz-0002Dz-DV for guix-patches@gnu.org; Sun, 15 Oct 2023 12:07:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1697386023; bh=OcN+UxgDrT5pZUFkvJWzpDTCqdll9xgrhRLB9c6CyXw=; h=Message-ID:Date:User-Agent:From:Subject:To:Content-Language: Content-Type:From; b=GUW6ShQbxkrwmx0YMY51zsm3ergc1gCr/kaifiPW9CVSsfyfzv/vftu5ciTtOBraq +zdst9P1PfAnzPtreU2vbPH8P6foF2MsW/NwIPFxpuSpIv+1qhRv0fVIvfIaviMbkN DSyXJCbrpX4vi+XkH9N/8LVPrIpLQhqDhZsQ4Z0s= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4S7lVv5Tm5z1y2d; Sun, 15 Oct 2023 16:07:03 +0000 (UTC) Received: from [10.11.12.146] (aftr-62-216-210-228.dynamic.mnet-online.de [62.216.210.228]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4S7lVm3B94z9s9T; Sun, 15 Oct 2023 16:06:53 +0000 (UTC) Message-ID: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> Date: Sun, 15 Oct 2023 18:06:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-purgate-type: clean X-purgate: clean X-purgate-size: 4404 X-purgate-ID: 155817::1697386019-4B7F9816-89FA3E24/0/0 Received-SPF: pass client-ip=145.253.228.164; envelope-from=stefan-guix@vodafonemail.de; helo=mr4.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Stefan X-ACL-Warn: , Stefan via Guix-patches From: Stefan via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.75 X-Spam-Score: -6.75 X-Migadu-Queue-Id: 6B8404290D X-Migadu-Scanner: mx2.migadu.com X-TUID: lm/fi0ZepxXz * gnu/packages/crates-io.scm (rust-bzip2-rs-0.1): New variable. * gnu/packages/crates-io.scm (rust-bytesize-1): Moved to group bzip2 related packages. --- gnu/packages/crates-io.scm | 80 +++++++++++++++++++++++++++----------- 1 file changed, 57 insertions(+), 23 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 80fb92ec82..0271dba14a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Paul Alesius ;;; Copyright © 2023 Arnav Andrew Jose +;;; Copyright © 2023 Stefan ;;; ;;; This file is part of GNU Guix. ;;; @@ -9932,6 +9933,29 @@ (define-public rust-bytestring-0.1 "This package provides a UTF-8 encoded string with Bytes as a storage.") (license (list license:expat license:asl2.0)))) +(define-public rust-bytesize-1 + (package + (name "rust-bytesize") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytesize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w7wmmbcirxp5isza0i1lxq5d7r7f0z1pxbxl5f6s1n5m8vfqn3c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/hyunsik/bytesize/") + (synopsis "Human-readable byte count representation library for Rust") + (description "ByteSize is an utility for human-readable byte count +representation, with support for both SI and binary units.") + (license license:asl2.0))) + (define-public rust-bzip2-0.4 (package (name "rust-bzip2") @@ -9965,29 +9989,6 @@ (define-public rust-bzip2-0.4 exposed as Reader/Writer streams.") (license (list license:expat license:asl2.0)))) -(define-public rust-bytesize-1 - (package - (name "rust-bytesize") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bytesize" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0w7wmmbcirxp5isza0i1lxq5d7r7f0z1pxbxl5f6s1n5m8vfqn3c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/hyunsik/bytesize/") - (synopsis "Human-readable byte count representation library for Rust") - (description "ByteSize is an utility for human-readable byte count -representation, with support for both SI and binary units.") - (license license:asl2.0))) - (define-public rust-bzip2-0.3 (package (inherit rust-bzip2-0.4) @@ -10015,6 +10016,39 @@ (define-public rust-bzip2-0.3 ("rust-rand" ,rust-rand-0.3) ("rust-tokio-core" ,rust-tokio-core-0.1)))))) +(define-public rust-bzip2-rs-0.1 + (package + (name "rust-bzip2-rs") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2-rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dgp83kixqrqj6q6574qr5zsfpbsiiwhqs3krhvsn4f8wkkmksxy")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("nightly = .*") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-tinyvec" ,rust-tinyvec-1) + ("rust-rayon-core" ,rust-rayon-core-1)) + #:cargo-development-inputs + (("rust-bzip2" ,rust-bzip2-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-pretty_assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/paolobarbolini/bzip2-rs") + (synopsis "Pure Rust bzip2 decompressor") + (description "Pure Rust 100% safe bzip2 decompressor.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bzip2-sys-0.1 (package (name "rust-bzip2-sys") base-commit: a0d2ecde943bd1854ddbb7c0cad35a1fc64dc5ab -- 2.41.0