1{ lib, stdenv, fetchurl, texinfo, which }:
2
3stdenv.mkDerivation rec {
4 pname = "wdiff";
5 version = "1.2.2";
6
7 src = fetchurl {
8 url = "mirror://gnu/wdiff/${pname}-${version}.tar.gz";
9 sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl";
10 };
11
12 # for makeinfo
13 nativeBuildInputs = [ texinfo ];
14
15 buildInputs = [ texinfo ];
16
17 nativeCheckInputs = [ which ];
18
19 strictDeps = true;
20
21 meta = with lib; {
22 homepage = "https://www.gnu.org/software/wdiff/";
23 description = "Comparing files on a word by word basis";
24 license = licenses.gpl3Plus;
25 maintainers = with maintainers; [ eelco SuperSandro2000 ];
26 platforms = platforms.unix;
27 };
28}