mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: zchunk: Patch references to the 'zstd' command line tool.
Fixes https://issues.guix.gnu.org/49795. * gnu/packages/compression.scm (zchunk) [phases]{patch-paths}: New phase. [inputs]: Add zstd. [propagated-inputs]: Relabel the zstd "lib" as "zstd:lib". Reported-by: Christopher Howard <christopher@librehacker.com>
This commit is contained in:
parent
e1ddcf75bf
commit
448de3966e
1 changed files with 11 additions and 2 deletions
|
@ -2361,12 +2361,21 @@ reading from and writing to ZIP archives. ")
|
||||||
(base32
|
(base32
|
||||||
"0nlzwnv6wh2yjyyv27f81jnvmk7psgpbnw7dsdp7frfkya569hgv"))))
|
"0nlzwnv6wh2yjyyv27f81jnvmk7psgpbnw7dsdp7frfkya569hgv"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "src/zck_gen_zdict.c"
|
||||||
|
(("/usr/bin/zstd")
|
||||||
|
(string-append (assoc-ref inputs "zstd")
|
||||||
|
"/bin/zstd"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("curl" ,curl)))
|
`(("curl" ,curl)
|
||||||
|
("zstd" ,zstd)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("zstd" ,zstd "lib"))) ;in Requires.private of zck.pc
|
`(("zstd:lib" ,zstd "lib"))) ;in Requires.private of zck.pc
|
||||||
(home-page "https://github.com/zchunk/zchunk")
|
(home-page "https://github.com/zchunk/zchunk")
|
||||||
(synopsis "Compressed file format for efficient deltas")
|
(synopsis "Compressed file format for efficient deltas")
|
||||||
(description "The zchunk compressed file format allows splitting a file
|
(description "The zchunk compressed file format allows splitting a file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue