tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xxdiff-tip: init at 4.0.1.20170111
Supports Qt5
Michael Raskin
9 years ago
266fb884
54aff5c3
+37
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
misc
xxdiff
tip.nix
top-level
all-packages.nix
+36
pkgs/development/tools/misc/xxdiff/tip.nix
···
1
1
+
{ stdenv, fetchFromBitbucket, qt5, flex, bison, docutils }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "xxdiff-4.0.1.20170101";
5
5
+
6
6
+
src = fetchFromBitbucket {
7
7
+
owner = "blais";
8
8
+
repo = "xxdiff";
9
9
+
rev = "1cf6b23ad30a845daba28a3409c65f93aec7f5e8";
10
10
+
sha256 = "0rq7grpndj85i7qzlj93jpzpfzk7bwsi55033fc63hb55rbdzz6z";
11
11
+
};
12
12
+
13
13
+
nativeBuildInputs = [ flex bison qt5.qtbase docutils ];
14
14
+
15
15
+
buildInputs = [ qt5.qtbase ];
16
16
+
17
17
+
preConfigure = ''
18
18
+
ln -s ${qt5.qtbase.dev}/mkspecs/* ../__nix_qt*__/mkspecs
19
19
+
ln -s ${qt5.qtbase.dev}/bin/* ../__nix_qt*__/bin || true
20
20
+
'';
21
21
+
22
22
+
NIX_CFLAGS_COMPILE="-I${qt5.qtbase.dev}/include/QtCore -I${qt5.qtbase.dev}/include/QtGui -I${qt5.qtbase.dev}/include/QtWidgets";
23
23
+
24
24
+
configurePhase = "${preConfigure} cd src; make -f Makefile.bootstrap";
25
25
+
26
26
+
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin";
27
27
+
28
28
+
29
29
+
meta = with stdenv.lib; {
30
30
+
homepage = http://furius.ca/xxdiff/;
31
31
+
description = "Graphical file and directories comparator and merge tool";
32
32
+
license = licenses.gpl2;
33
33
+
platforms = platforms.linux;
34
34
+
maintainers = with maintainers; [ pSub raskin ];
35
35
+
};
36
36
+
}
+1
pkgs/top-level/all-packages.nix
···
6909
6909
xxdiff = callPackage ../development/tools/misc/xxdiff {
6910
6910
bison = bison2;
6911
6911
};
6912
6912
+
xxdiff-tip = callPackage ../development/tools/misc/xxdiff/tip.nix { };
6912
6913
6913
6914
yacc = bison;
6914
6915