2012-01-07 21:23:35 +01:00
|
|
|
{ stdenv, fetchhg, qt4, flex, bison }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "xxdiff-4.0-beta1-20110723";
|
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
name = "xxdiff";
|
2012-04-17 19:12:56 +02:00
|
|
|
tag = "fdc247a7d9e5";
|
2012-01-07 21:23:35 +01:00
|
|
|
url = https://hg.furius.ca/public/xxdiff;
|
2012-04-17 19:12:56 +02:00
|
|
|
sha256 = "7ae7d81becc25b1adabc9383bb5b9005dddb31510cdc404ce8a0d6ff6c3dc47e";
|
2012-01-07 21:23:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildNativeInputs = [ flex bison qt4 ];
|
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
|
|
|
|
QMAKE = "qmake";
|
|
|
|
|
|
|
|
configurePhase =
|
|
|
|
''
|
|
|
|
cd src
|
|
|
|
make -f Makefile.bootstrap
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin";
|
|
|
|
}
|