2011-09-07 17:53:30 +01:00
|
|
|
{ stdenv, fetchurl, which, screen }:
|
2010-03-25 11:51:55 +00:00
|
|
|
|
2011-09-07 17:53:30 +01:00
|
|
|
let
|
2011-12-01 22:43:53 +00:00
|
|
|
name = "wdiff-1.1.0";
|
2011-09-07 17:53:30 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2010-05-10 18:54:26 +01:00
|
|
|
|
2010-03-25 11:51:55 +00:00
|
|
|
src = fetchurl {
|
2010-05-10 18:54:26 +01:00
|
|
|
url = "mirror://gnu/wdiff/${name}.tar.gz";
|
2011-12-01 22:43:53 +00:00
|
|
|
sha256 = "1lg5lz78xij4jjifv8fj68ixr9mha1c5vp8xzyg6rdx6ynkvnm5i";
|
2010-03-25 11:51:55 +00:00
|
|
|
};
|
2010-05-10 15:30:44 +01:00
|
|
|
|
2011-09-07 17:53:30 +01:00
|
|
|
# Required for the compile-time for the test suite.
|
|
|
|
buildInputs = [ which screen ];
|
|
|
|
|
2010-05-10 15:30:44 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2010-03-25 11:51:55 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/wdiff/;
|
2010-05-10 15:30:44 +01: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 11:51:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|