diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-08 13:36:10 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:18 +0300 |
commit | 4ab9a2194a5ac1c47546c46adb553822f7eda79d (patch) | |
tree | ec03aa4ac08c60019156bbf1bdb5e43e3c50ded5 /gnu | |
parent | 5bf67e673673ca3b3e306a205551856ad8ea7548 (diff) |
gnu: rust-autocompress-0.2: Skip build.
* gnu/packages/crates-io.scm (rust-autocompress-0.2)[arguments]: Skip
build.
[native-inputs]: Add pkg-config.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 11 |
1 files 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 |