2013-04-23 12:11:58 +02:00
|
|
|
{ stdenv, fetchhg, qt4, flex, bison, docutils }:
|
2012-01-07 21:23:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-04-23 12:11:58 +02:00
|
|
|
name = "xxdiff-2013.03.08";
|
2012-01-07 21:23:35 +01:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
name = "xxdiff";
|
2013-04-23 12:11:58 +02:00
|
|
|
tag = "6a86d8353eef";
|
2012-01-07 21:23:35 +01:00
|
|
|
url = https://hg.furius.ca/public/xxdiff;
|
2013-04-23 12:11:58 +02:00
|
|
|
sha256 = "1c1krgmf1cfkrmg48w6zw61wgy01xm171ifkkh6givm8v6c8i340";
|
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";
|
|
|
|
|
|
|
|
configurePhase =
|
|
|
|
''
|
|
|
|
cd src
|
|
|
|
make -f Makefile.bootstrap
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin";
|
2013-04-23 12:11:58 +02:00
|
|
|
|
|
|
|
meta.platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
2012-01-07 21:23:35 +01:00
|
|
|
}
|