mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: wdiff: Use gexps.
* gnu/packages/patchutils.scm(wdiff)[arguments]: Use gexps. Change-Id: Ife2c051c209948afafe67854a315bdfa1a604f52 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #4774
This commit is contained in:
parent
805dd1764e
commit
ea1c939464
1 changed files with 14 additions and 12 deletions
|
|
@ -534,20 +534,22 @@ Users can login allowing them to change the state of patches.")
|
|||
(version "1.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/wdiff/wdiff-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"))))
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/wdiff/wdiff-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'fix-sh
|
||||
(lambda _
|
||||
(substitute* "tests/testsuite"
|
||||
(("#! /bin/sh")
|
||||
(string-append "#!" (which "sh")))))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'fix-testsuite
|
||||
(lambda _
|
||||
(substitute* "tests/testsuite"
|
||||
(("#! /bin/sh")
|
||||
(string-append "#!" (which "sh")))))))))
|
||||
(native-inputs
|
||||
(list which
|
||||
;; For some reason wdiff.info gets rebuilt.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue