3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/wdiff/default.nix

27 lines
644 B
Nix
Raw Normal View History

{ stdenv, fetchurl, which, screen }:
let
name = "wdiff-1.1.0";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://gnu/wdiff/${name}.tar.gz";
sha256 = "1lg5lz78xij4jjifv8fj68ixr9mha1c5vp8xzyg6rdx6ynkvnm5i";
};
# Required for the compile-time for the test suite.
buildInputs = [ which screen ];
doCheck = true;
meta = {
homepage = http://www.gnu.org/software/wdiff/;
description = "GNU wdiff, comparing files on a word by word basis";
license = "GPLv3+";
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
};
}