tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ipe: use texlive-new
Thomas Tuegel
10 years ago
f7edf63b
269ae2e2
+14
-8
2 changed files
expand all
collapse all
unified
split
pkgs
applications
graphics
ipe
default.nix
top-level
all-packages.nix
+10
-7
pkgs/applications/graphics/ipe/default.nix
···
1
-
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texLive, ghostscriptX
2
, libjpeg, qtbase
3
-
, makeWrapper }:
4
-
let ghostscript = ghostscriptX; in
0
5
stdenv.mkDerivation rec {
6
name = "ipe-7.1.10";
7
···
21
'';
22
23
IPEPREFIX="$$out";
24
-
URWFONTDIR="${texLive}/texmf-dist/fonts/type1/urw/";
25
LUA_PACKAGE = "lua";
26
27
buildInputs = [
28
-
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texLive ghostscript makeWrapper
29
];
30
31
-
postInstall = ''
0
0
32
for prog in $out/bin/*; do
33
-
wrapProgram "$prog" --prefix PATH : "${texLive}/bin"
34
done
35
'';
36
···
1
+
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
2
, libjpeg, qtbase
3
+
, makeQtWrapper
4
+
}:
5
+
6
stdenv.mkDerivation rec {
7
name = "ipe-7.1.10";
8
···
22
'';
23
24
IPEPREFIX="$$out";
25
+
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
26
LUA_PACKAGE = "lua";
27
28
buildInputs = [
29
+
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript
30
];
31
32
+
nativeBuildInputs = [ makeQtWrapper ];
33
+
34
+
postFixup = ''
35
for prog in $out/bin/*; do
36
+
wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin"
37
done
38
'';
39
+4
-1
pkgs/top-level/all-packages.nix
···
12165
lua = lua5;
12166
};
12167
12168
-
ipe = qt5Libs.callPackage ../applications/graphics/ipe { };
0
0
0
12169
12170
iptraf = callPackage ../applications/networking/iptraf { };
12171
···
12165
lua = lua5;
12166
};
12167
12168
+
ipe = qt5Libs.callPackage ../applications/graphics/ipe {
12169
+
ghostscript = ghostscriptX;
12170
+
texlive = texlive.combine { inherit (texlive) scheme-small; };
12171
+
};
12172
12173
iptraf = callPackage ../applications/networking/iptraf { };
12174