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