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
|
2011-12-01 23:43:53 +01:00
|
|
|
name = "wdiff-1.1.0";
|
2011-09-07 18:53:30 +02:00
|
|
|
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-12-01 23:43:53 +01:00
|
|
|
sha256 = "1lg5lz78xij4jjifv8fj68ixr9mha1c5vp8xzyg6rdx6ynkvnm5i";
|
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;
|
|
|
|
};
|
|
|
|
}
|