nixpkgs/pkgs/development/tools/misc/xxdiff/tip.nix

34 lines
811 B
Nix
Raw Normal View History

{ stdenv, fetchFromBitbucket, qtbase, flex, bison, docutils }:
stdenv.mkDerivation rec {
name = "xxdiff-4.0.1.20170623";
src = fetchFromBitbucket {
owner = "blais";
repo = "xxdiff";
rev = "5e5f885dfc43559549a81c59e9e8c9525306356a";
sha256 = "0gbvxrkwkbvag3298j89smszghpr8ilxxfb0cvsknfqdf15b296w";
};
nativeBuildInputs = [ flex bison docutils ];
buildInputs = [ qtbase ];
preConfigure = ''
2017-11-21 00:21:06 +00:00
cd src
make -f Makefile.bootstrap
'';
2017-11-21 00:21:06 +00:00
postInstall = ''
install -D ../bin/xxdiff $out/bin/xxdiff
'';
meta = with stdenv.lib; {
homepage = http://furius.ca/xxdiff/;
description = "Graphical file and directories comparator and merge tool";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub raskin ];
};
}