2013-08-15 11:25:03 +01:00
|
|
|
{ stdenv, fetchurl, qt4, flex, bison, docutils }:
|
2012-01-07 20:23:35 +00:00
|
|
|
|
2013-08-15 11:25:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xxdiff-4.0";
|
2012-01-07 20:23:35 +00:00
|
|
|
|
2013-08-15 11:25:03 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xxdiff/${name}.tar.bz2";
|
|
|
|
sha256 = "0c0k8cwxyv5byw7va1n9iykvypv435j0isvys21rkj1bx121al4i";
|
2012-01-07 20:23:35 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 11:11:58 +01:00
|
|
|
nativeBuildInputs = [ flex bison qt4 docutils ];
|
2012-01-07 20:23:35 +00:00
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
|
|
|
|
QMAKE = "qmake";
|
|
|
|
|
2013-08-15 11:25:03 +01:00
|
|
|
configurePhase = "cd src; make -f Makefile.bootstrap";
|
2012-01-07 20:23:35 +00:00
|
|
|
|
|
|
|
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin";
|
2013-04-23 11:11:58 +01:00
|
|
|
|
2013-08-15 11:25:03 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://furius.ca/xxdiff/";
|
|
|
|
description = "graphical file and directories comparator and merge tool";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-04-23 11:11:58 +01:00
|
|
|
|
2013-08-15 11:25:03 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [];
|
|
|
|
};
|
2012-01-07 20:23:35 +00:00
|
|
|
}
|