mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add wabt.
* gnu/packages/web (wabt): New variable. * gnu/packages/diffoscope (diffoscope)[native-inputs]: Add wabt for tests. [arguments]: Add phase patching wabt into known tools.
This commit is contained in:
parent
f315673d9e
commit
4d83157cd8
2 changed files with 48 additions and 0 deletions
|
@ -57,6 +57,7 @@
|
|||
#:use-module (gnu packages textutils)
|
||||
#:use-module (gnu packages video)
|
||||
#:use-module (gnu packages vim)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
|
@ -88,6 +89,12 @@
|
|||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("'python-magic',") ""))))
|
||||
;; Patch in support for known tools
|
||||
(add-after 'unpack 'add-known-tools
|
||||
(lambda _
|
||||
(substitute* "diffoscope/external_tools.py"
|
||||
(("'arch': 'wabt'},")
|
||||
"'arch': 'wabt', 'guix': 'wabt'},"))))
|
||||
;; This test is broken because our `file` package has a
|
||||
;; bug in berkeley-db file type detection.
|
||||
(add-after 'unpack 'remove-berkeley-test
|
||||
|
@ -188,6 +195,7 @@
|
|||
("squashfs-tools" ,squashfs-tools)
|
||||
("tcpdump" ,tcpdump)
|
||||
("unzip" ,unzip)
|
||||
("wabt" ,wabt)
|
||||
("xxd" ,xxd)
|
||||
("xz" ,xz)
|
||||
("zip" ,zip)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue