mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: diffoscope: Add support for zstd compression.
* gnu/packages/diffoscope (diffoscope)[native-inputs]: Add zstd. [arguments]: Add add-known-tools phase with support for zstd.
This commit is contained in:
parent
5487ddac22
commit
bc685e1ca3
1 changed files with 8 additions and 1 deletions
|
@ -90,6 +90,12 @@ (define-public diffoscope
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("'python-magic',") ""))))
|
(("'python-magic',") ""))))
|
||||||
|
;; Patch in support for known tools
|
||||||
|
(add-after 'unpack 'add-known-tools
|
||||||
|
(lambda _
|
||||||
|
(substitute* "diffoscope/external_tools.py"
|
||||||
|
(("'debian': 'zstd'")
|
||||||
|
"'debian': 'zstd', 'guix': 'zstd'"))))
|
||||||
;; This test is broken because our `file` package has a
|
;; This test is broken because our `file` package has a
|
||||||
;; bug in berkeley-db file type detection.
|
;; bug in berkeley-db file type detection.
|
||||||
(add-after 'unpack 'remove-berkeley-test
|
(add-after 'unpack 'remove-berkeley-test
|
||||||
|
@ -209,7 +215,8 @@ (define-public diffoscope
|
||||||
("wabt" ,wabt)
|
("wabt" ,wabt)
|
||||||
("xxd" ,xxd)
|
("xxd" ,xxd)
|
||||||
("xz" ,xz)
|
("xz" ,xz)
|
||||||
("zip" ,zip)))
|
("zip" ,zip)
|
||||||
|
("zstd" ,zstd)))
|
||||||
(home-page "https://diffoscope.org/")
|
(home-page "https://diffoscope.org/")
|
||||||
(synopsis "Compare files, archives, and directories in depth")
|
(synopsis "Compare files, archives, and directories in depth")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue