about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/wdiff/default.nix
blob: d6ed960cce1e7cd622edfffec656d0af89f95753 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv, fetchurl, texinfo, which }:

stdenv.mkDerivation rec {
  pname = "wdiff";
  version = "1.2.2";

  src = fetchurl {
    url = "mirror://gnu/wdiff/${pname}-${version}.tar.gz";
    sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl";
  };

  # for makeinfo
  nativeBuildInputs = [ texinfo ];

  buildInputs = [ texinfo ];

  nativeCheckInputs = [ which ];

  strictDeps = true;

  meta = with lib; {
    homepage = "https://www.gnu.org/software/wdiff/";
    description = "Comparing files on a word by word basis";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ eelco SuperSandro2000 ];
    platforms = platforms.unix;
  };
}