From unknown Sat Sep 06 13:45:02 2025 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 From: Stefan 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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 From unknown Sat Sep 06 13:45:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66563] [PATCH v2 1/1] gnu: Add rust-bzip2-rs Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66563@debbugs.gnu.org Cc: stefan-guix@vodafonemail.de, efraim@flashner.co.il X-Debbugs-Original-Cc: Stefan , guix-patches@gnu.org X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by submit@debbugs.gnu.org id=B.169952987021527 (code B ref -1); Thu, 09 Nov 2023 11:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2023 11:37:50 +0000 Received: from localhost ([127.0.0.1]:46901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r13M6-0005b8-4f for submit@debbugs.gnu.org; Thu, 09 Nov 2023 06:37:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r13M3-0005ak-Cs for submit@debbugs.gnu.org; Thu, 09 Nov 2023 06:37:48 -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 1r13LH-00045q-3L for guix-patches@gnu.org; Thu, 09 Nov 2023 06:37:01 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r13LE-0004m6-Dl for guix-patches@gnu.org; Thu, 09 Nov 2023 06:36:58 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1r13L5-000aQz-WC; Thu, 09 Nov 2023 12:36:48 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1r13L5-0007IW-I3; Thu, 09 Nov 2023 12:36:47 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1r13L2-002XEm-Ts; Thu, 09 Nov 2023 12:36:45 +0100 From: Steve George Date: Thu, 9 Nov 2023 11:35:16 +0000 Message-ID: <6ceef07f30a11398e8d3efe6bbe801b9c2da6d18.1699529383.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::25; envelope-from=steve@futurile.net; helo=mailtransmit04.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Stefan * gnu/packages/crates-io.scm (rust-bzip2-rs-0.1): New variable. * gnu/packages/crates-io.scm (rust-bytesize-1): Moved bzip2 alphabetically. Change-Id: I41a7e5a00cb2feec6dcda0360044fb5a91b9e1fe --- gnu/packages/crates-io.scm | 84 ++++++++++++++++++++++++++------------ 1 file changed, 59 insertions(+), 25 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b15c1e5d9ab..606ed5aa297 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2023 Wilko Meyer ;;; Copyright © 2023 Jaeme Sifat ;;; Copyright © 2023 Steve George +;;; Copyright © 2023 Stefan ;;; ;;; This file is part of GNU Guix. ;;; @@ -10748,6 +10749,31 @@ (define-public rust-bytes-0.3 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bytesize-1 + (package + (name "rust-bytesize") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytesize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k3aak70iwz4s2gsjbxf0ws4xnixqbdz6p2ha96s06748fpniqx3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.7)))) + (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-bytestring-0.1 (package (name "rust-bytestring") @@ -10805,31 +10831,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.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bytesize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k3aak70iwz4s2gsjbxf0ws4xnixqbdz6p2ha96s06748fpniqx3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.7)))) - (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) @@ -10857,6 +10858,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") -- 2.41.0 From unknown Sat Sep 06 13:45:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66563] [PATCH v2 0/1] Add rust-bzip2-rs Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66563@debbugs.gnu.org Cc: stefan-guix@vodafonemail.de, steve@futurile.net, efraim@flashner.co.il X-Debbugs-Original-Cc: stefan-guix@vodafonemail.de, guix-patches@gnu.org, Steve George X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by submit@debbugs.gnu.org id=B.169952987121534 (code B ref -1); Thu, 09 Nov 2023 11:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2023 11:37:51 +0000 Received: from localhost ([127.0.0.1]:46903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r13M6-0005bA-K9 for submit@debbugs.gnu.org; Thu, 09 Nov 2023 06:37:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r13M3-0005am-Bw for submit@debbugs.gnu.org; Thu, 09 Nov 2023 06:37:48 -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 1r13LH-00045p-2e for guix-patches@gnu.org; Thu, 09 Nov 2023 06:37:00 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r13LE-0004m8-DM for guix-patches@gnu.org; Thu, 09 Nov 2023 06:36:58 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1r13L5-000aQl-Sk; Thu, 09 Nov 2023 12:36:47 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1r13L5-0007IS-4S; Thu, 09 Nov 2023 12:36:47 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1r13Ku-002XDh-85; Thu, 09 Nov 2023 12:36:36 +0100 From: Steve George Date: Thu, 9 Nov 2023 11:35:15 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> References: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::25; envelope-from=steve@futurile.net; helo=mailtransmit04.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Moved onto the Rust branch and tested it builds. Stefan (1): gnu: Add rust-bzip2-rs gnu/packages/crates-io.scm | 84 ++++++++++++++++++++++++++------------ 1 file changed, 59 insertions(+), 25 deletions(-) base-commit: bbec79fd55ba8efe4cb015bd07e4f40fb7d252d1 -- 2.41.0 From unknown Sat Sep 06 13:45:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Subject: bug#66563: closed (Re: [bug#66563] [PATCH v2 1/1] gnu: Add rust-bzip2-rs) Message-ID: References: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> X-Gnu-PR-Message: they-closed 66563 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 66563@debbugs.gnu.org Date: Mon, 04 Dec 2023 09:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1701683702-23296-1" This is a multi-part message in MIME format... ------------=_1701683702-23296-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66563: [PATCH] gnu: Add rust-bzip2-rs which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66563@debbugs.gnu.org. --=20 66563: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66563 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1701683702-23296-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66563-done) by debbugs.gnu.org; 4 Dec 2023 09:54:30 +0000 Received: from localhost ([127.0.0.1]:33501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rA5en-00062Y-So for submit@debbugs.gnu.org; Mon, 04 Dec 2023 04:54:30 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:59548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rA5ei-000624-8B for 66563-done@debbugs.gnu.org; Mon, 04 Dec 2023 04:54:28 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3332efd75c9so2739182f8f.2 for <66563-done@debbugs.gnu.org>; Mon, 04 Dec 2023 01:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701683648; x=1702288448; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=8ASrnfZSd2lY/HanKI3CpPQTPmTGDNmYDIoIQ4jdVCg=; b=kvAZuhYuU0PKSGmC+kYvwPNr82hY45LqYX+LUdhG3PqQ21mVmGYZc/4JtZtcP1Lnox xhhlt90b+fW7TX37JSMknuvkKVRa1+DdS4uojBt+ev/pUPr/ZGpVgAk5BaM7crgq4H0X xusRrmn7HaMl6awk7JWdnAuFr7KrDnh645jh+tZ4JZQgR2LkjLnnN746fuJR8BqvUCO5 MgoPViomAtiTOPPumQcN4iJj1e0UcatDqA5BjlF4P7Fqo3t8u5fubz8S+Q9oazgQTild Bx0Ew4vJuF3/zMeGfW83gjWJ/pCPhCbXhnajYGEFmDtcWe8ycHtdn8Vu8SZeZiBwFq+/ SkiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701683648; x=1702288448; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8ASrnfZSd2lY/HanKI3CpPQTPmTGDNmYDIoIQ4jdVCg=; b=xEZ1kegnuqitwiWljlVLOodQoHOCs2DwblwWmQmb3EIFUp0rZO/CNFxglYr+XkYcyW OEGiFSu+5kJDhAssukud5+RTQnTrCWdOx2Bdi1fSEKtKXnWN2TCGTAZYblkC6xZFV/n1 zBGTSpaEEDd9uYxw2301n3nDPxQZ66Nx2BEqyhPrlMpSNwsskJTdNsycRBUkh6Rd/Qaf ctnq9mQ/pdYYmMVjDScl6KvOkNgY0MRc9ApCLZZgkeyBTHHm35Vo4ra5uEZA40v8QilK nw5TQlAvl+u/gM3BLO7zF5682z2kGViJ1oqUsuQEK0TrrhazvmEn+mgiCJz6CendIBO9 R2Qg== X-Gm-Message-State: AOJu0Yzft6WrJ+rRVfsdOAzXaVKUIN6hCrZXGvLYAsIR2RvRvl2SRr7z NjoBQSqasAuRqucw+IQk/ftmabe0sZ6Kbw== X-Google-Smtp-Source: AGHT+IHCvys8+kKLBtaUtZH2fk77Nbb/KGhOdrzpHX5S9xcBdIIe9UGUdtX1DxBPXKqVbxRgXheZhg== X-Received: by 2002:adf:fa03:0:b0:333:3117:c457 with SMTP id m3-20020adffa03000000b003333117c457mr1392505wrr.232.1701683647800; Mon, 04 Dec 2023 01:54:07 -0800 (PST) Received: from localhost ([188.120.129.233]) by smtp.gmail.com with ESMTPSA id c8-20020adfe708000000b003332aa97101sm10131719wrm.38.2023.12.04.01.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:54:07 -0800 (PST) Date: Mon, 4 Dec 2023 11:54:06 +0200 From: Efraim Flashner To: Steve George Subject: Re: [bug#66563] [PATCH v2 1/1] gnu: Add rust-bzip2-rs Message-ID: Mail-Followup-To: Efraim Flashner , Steve George , 66563-done@debbugs.gnu.org, stefan-guix@vodafonemail.de References: <39753ebe-d35d-005e-670a-d38a40dfb5b7@vodafonemail.de> <6ceef07f30a11398e8d3efe6bbe801b9c2da6d18.1699529383.git.steve@futurile.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pa3G545jirkCrSem" Content-Disposition: inline In-Reply-To: <6ceef07f30a11398e8d3efe6bbe801b9c2da6d18.1699529383.git.steve@futurile.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 66563-done Cc: stefan-guix@vodafonemail.de, 66563-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --pa3G545jirkCrSem Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sorry, I ended up packaging this one myself while looking at a different patch set. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --pa3G545jirkCrSem Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmVtob0ACgkQQarn3Mo9 g1FaQA//TyTK4UGc6Nd6ZxUthiBow2+69Ma7rtk6/CatLMtDfw7Vo72ddaJzEmHL s+H6D1bElQeAFeX2/pdf2DkgwEnpDZ6XoXftm4rIsJFIgT4UewN4roTpwHMqA+yI SsBH/W7JaHj0NCBrS9FArVAzwsl2Z2IRihwg0w/GJ2Qe1dBIXEVQ7ZCiIgSSqTrk aAuCULg92o2wlR6m98feK94ChwzTV9uVRXfVGhLRtJPG3kQhC8thzhvJa+ST03SI YqKAEhjZDtZb2zOkZ9TtELKl/kf+J2teM+DSJuGPKMqX/XN3KWEI6BfXOhfKedW8 m2FE6zOGVqlYga+HqxmKaqujmPmm1OGrrSOlrONC+gqNUPRdg5GUvXAEUaJa0ugv H2MqOwws7CAKAHv6geCGnueZzR+z2UVCQHglMrSevYQyPWFtZo0e28fKuEHp62Ee N4GpaaNkSot7nVX3jkPJZ/7SFA13uSTuvv7a+VhwJ96byFFfr7WD8U923ZcAFOUI +NtduedIrowlptEffKqEm18a1tSdubXZXWYRcNRBDudeFUpR8HVj/AFHKeTaso9A bR3ftNVaWrwhuRnUaVoQ0cM+AxigSj9p/NDZJ2/igSmuxmF1sjG05mzq0fVE4Ona FMK7Cmw8n7zvMido3OpcCe2yqovRO6GCQwMlM5kA5mij+v5XMMQ= =12DP -----END PGP SIGNATURE----- --pa3G545jirkCrSem-- ------------=_1701683702-23296-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 From: Stefan Subject: [PATCH] gnu: Add rust-bzip2-rs To: guix-patches@gnu.org 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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 ------------=_1701683702-23296-1--