16 src = fetchFromBitbucket {
19 rev = "5e5f885dfc43559549a81c59e9e8c9525306356a";
20 sha256 = "0gbvxrkwkbvag3298j89smszghpr8ilxxfb0cvsknfqdf15b296w";
30 buildInputs = [ qtbase ];
32 dontUseQmakeConfigure = true;
34 # c++11 and above is needed for building with Qt 5.9+
35 env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
37 sourceRoot = "${src.name}/src";
40 substituteInPlace xxdiff.pro --replace ../bin ./bin
44 make -f Makefile.bootstrap
50 install -Dm555 -t $out/bin ./bin/xxdiff
51 install -Dm444 -t $out/share/doc/${pname} ${src}/README
57 description = "Graphical file and directories comparator and merge tool";
58 mainProgram = "xxdiff";
59 homepage = "http://furius.ca/xxdiff/";
60 license = licenses.gpl2;
61 maintainers = with maintainers; [
65 platforms = platforms.linux;