diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/wdiff/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/wdiff/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/wdiff/default.nix b/nixpkgs/pkgs/tools/text/wdiff/default.nix new file mode 100644 index 000000000000..510cf18369e6 --- /dev/null +++ b/nixpkgs/pkgs/tools/text/wdiff/default.nix @@ -0,0 +1,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 ]; + + checkInputs = [ 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; + }; +} |