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-09-17 12:09:39 +02:00
|
|
|
name = "wdiff-1.0.1";
|
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-09-17 12:09:39 +02:00
|
|
|
sha256 = "1jyg8vmdlazpcwii8a1ddbc0sxcklp9cvj5y0x9zqaybvwzg9r4l";
|
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;
|
|
|
|
};
|
|
|
|
}
|