mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: rust-autocompress-0.2: Skip build.
* gnu/packages/crates-io.scm (rust-autocompress-0.2)[arguments]: Skip build. [native-inputs]: Add pkg-config.
This commit is contained in:
parent
5bf67e6736
commit
4ab9a2194a
1 changed files with 2 additions and 9 deletions
|
@ -6080,15 +6080,7 @@ (define-public rust-autocompress-0.2
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #false ;The crate does not include test files
|
#:tests? #false ;The crate does not include test files
|
||||||
#:phases
|
#:skip-build? #t ; could not find `block` in `zstd`
|
||||||
'(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\\(\\)") "")))))
|
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
`(("rust-brotli" ,rust-brotli-3)
|
`(("rust-brotli" ,rust-brotli-3)
|
||||||
("rust-bzip2" ,rust-bzip2-0.4)
|
("rust-bzip2" ,rust-bzip2-0.4)
|
||||||
|
@ -6105,6 +6097,7 @@ (define-public rust-autocompress-0.2
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
|
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
|
||||||
(inputs (list xz))
|
(inputs (list xz))
|
||||||
|
(native-inputs (list pkg-config))
|
||||||
(home-page "https://github.com/informationsea/autocompress-rs")
|
(home-page "https://github.com/informationsea/autocompress-rs")
|
||||||
(synopsis "Select decoder from magic bytes or encoder from file extension")
|
(synopsis "Select decoder from magic bytes or encoder from file extension")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue