unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75242] [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade to 0.3.2.
@ 2025-01-01 11:33 Herman Rimm via Guix-patches via
  2025-01-01 11:35 ` [bug#75242] [PATCH rust-team 2/2] gnu: rust-partial-io-0.2: Remove Herman Rimm via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Herman Rimm via Guix-patches via @ 2025-01-01 11:33 UTC (permalink / raw)
  To: 75242; +Cc: Efraim Flashner

rust-buffered-reader-0.9 and rust-sequoia-openpgp-0.9 require ^0.3.2.

* gnu/packages/crates-compression.scm (rust-bzip2-0.3): Downgrade.
[source]: Remove bzip2-sys path.
[arguments]: Build.  Remove rust-partial-io-0.2, use rust-quicheck-0.2
instead of 0.4.

Change-Id: Ifaa98cf43c4aa5c44358dd225a62b102f9e1218d
---
 gnu/packages/crates-compression.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm
index 78a92108f03..08ce7a8a6c2 100644
--- a/gnu/packages/crates-compression.scm
+++ b/gnu/packages/crates-compression.scm
@@ -285,7 +285,8 @@ (define-public rust-bzip2-0.3
   (package
     (inherit rust-bzip2-0.4)
     (name "rust-bzip2")
-    (version "0.3.3")
+    ;; XXX: Version 0.3.3 relies on a non-existant partial-io version.
+    (version "0.3.2")
     (source
      (origin
        (method url-fetch)
@@ -293,18 +294,19 @@ (define-public rust-bzip2-0.3
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2"))))
+        (base32 "095yi13ajgnbcmza9s4c7fspzzlqa0bk3hdiwryq43afqi1grsn3"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "Cargo.toml"
+                    ((", path =.*}") "}")))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-bzip2-sys" ,rust-bzip2-sys-0.1)
         ("rust-futures" ,rust-futures-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-tokio-io" ,rust-tokio-io-0.1))
        #:cargo-development-inputs
-       (("rust-partial-io" ,rust-partial-io-0.2)
-        ("rust-quickcheck" ,rust-quickcheck-0.4)
+       (("rust-quickcheck" ,rust-quickcheck-0.2)
         ("rust-rand" ,rust-rand-0.3)
         ("rust-tokio-core" ,rust-tokio-core-0.1))))))
 

base-commit: 5f92f009a19c1a5a8b7df5a7bcb1e1f283a953f8
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-05 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-01 11:33 [bug#75242] [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade to 0.3.2 Herman Rimm via Guix-patches via
2025-01-01 11:35 ` [bug#75242] [PATCH rust-team 2/2] gnu: rust-partial-io-0.2: Remove Herman Rimm via Guix-patches via
2025-01-03  8:21 ` [bug#75242] [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade to 0.3.2 Efraim Flashner
2025-01-05 11:04 ` bug#75242: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).