guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

203/276: gnu: rust-autocompress-0.2: Skip build.


From: guix-commits
Subject: 203/276: gnu: rust-autocompress-0.2: Skip build.
Date: Wed, 18 Oct 2023 04:50:07 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4ab9a2194a5ac1c47546c46adb553822f7eda79d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 8 13:36:10 2023 +0300

    gnu: rust-autocompress-0.2: Skip build.
    
    * gnu/packages/crates-io.scm (rust-autocompress-0.2)[arguments]: Skip
    build.
    [native-inputs]: Add pkg-config.
---
 gnu/packages/crates-io.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 824041fd82..88b0d24b69 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6080,15 +6080,7 @@ they're not available.")
     (arguments
      (list
       #:tests? #false ;The crate does not include test files
-      #:phases
-      '(modify-phases %standard-phases
-         (add-before 'patch-cargo-checksums 'do-not-build-xz
-           (lambda _
-             ;; Detection of liblzma (in rust-lzma-sys, pulled in by
-             ;; rust-hts-sys) doesn't seem to work, or perhaps it really does
-             ;; request a static build somewhere.
-             (substitute* "guix-vendor/rust-lzma-sys-0.1.17.tar.xz/build.rs"
-               (("if .want_static && .msvc && 
pkg_config::probe_library\\(\"liblzma\"\\).is_ok\\(\\)") "")))))
+      #:skip-build? #t  ; could not find `block` in `zstd`
       #:cargo-inputs
       `(("rust-brotli" ,rust-brotli-3)
         ("rust-bzip2" ,rust-bzip2-0.4)
@@ -6105,6 +6097,7 @@ they're not available.")
         ("rust-rand" ,rust-rand-0.8)
         ("rust-temp-testdir" ,rust-temp-testdir-0.2))))
     (inputs (list xz))
+    (native-inputs (list pkg-config))
     (home-page "https://github.com/informationsea/autocompress-rs";)
     (synopsis "Select decoder from magic bytes or encoder from file extension")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]