1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
3 ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages wdiff)
21 #:use-module (guix licenses)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages texinfo)
26 #:use-module (gnu packages screen)
27 #:use-module (gnu packages base))
36 (uri (string-append "mirror://gnu/wdiff/wdiff-"
40 "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"))))
41 (build-system gnu-build-system)
43 `(#:phases (modify-phases %standard-phases
44 (add-before 'check 'fix-sh
46 (substitute* "tests/testsuite"
48 (string-append "#!" (which "sh")))))))))
51 ;; For some reason wdiff.info gets rebuilt.
52 ("texinfo" ,texinfo)))
53 (home-page "https://www.gnu.org/software/wdiff/")
54 (synopsis "Word difference finder")
56 "GNU Wdiff is a front-end to the diff program from Diffutils that
57 allows you to compare files on a word-by-word basis, where a word is anything