2011-09-07 18:53:30 +02:00
|
|
|
{ stdenv, fetchurl, which, screen }:
|
2010-03-25 12:51:55 +01:00
|
|
|
|
2011-09-07 18:53:30 +02:00
|
|
|
let
|
|
|
|
name = "wdiff-1.0.0";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2010-05-10 19:54:26 +02:00
|
|
|
|
2010-03-25 12:51:55 +01:00
|
|
|
src = fetchurl {
|
2010-05-10 19:54:26 +02:00
|
|
|
url = "mirror://gnu/wdiff/${name}.tar.gz";
|
2011-09-07 18:53:30 +02:00
|
|
|
sha256 = "00p0yww8dfszzhbwkfl4v5l9r55v9qznx3p089l2m2drjb1ahp3v";
|
2010-03-25 12:51:55 +01:00
|
|
|
};
|
2010-05-10 16:30:44 +02:00
|
|
|
|
2011-09-07 18:53:30 +02:00
|
|
|
# Required for the compile-time for the test suite.
|
|
|
|
buildInputs = [ which screen ];
|
|
|
|
|
2010-05-10 16:30:44 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2010-03-25 12:51:55 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/wdiff/;
|
2010-05-10 16:30:44 +02:00
|
|
|
description = "GNU wdiff, comparing files on a word by word basis";
|
|
|
|
license = "GPLv3+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.ludo ];
|
2010-03-25 12:51:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|