···
1
-
{ lib, fetchurl, makeWrapper, pkg-config, zlib, freetype, cairo, lua5, texlive, ghostscript
2
-
, libjpeg, libpng, qtbase, mkDerivation
9
-
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
10
-
sha256 = "1a6a88r7j5z01z6k1z72a8g3n6lxdjjxxkdrzrfdd6df2gbs6g5g";
23
+
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${pname}-${version}-src.tar.gz";
24
+
sha256 = "0yvm3zfba1ljyy518vjnvwpyg7lgnmdwm19v5k0wfgz64aca56x1";
13
-
sourceRoot = "${name}/src";
27
+
sourceRoot = "${pname}-${version}/src";
15
-
IPEPREFIX=placeholder "out";
16
-
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
17
-
LUA_PACKAGE = "lua";
29
+
nativeBuildInputs = [ pkg-config ];
20
-
libjpeg libpng zlib qtbase freetype cairo lua5 texlive ghostscript
23
-
nativeBuildInputs = [ pkg-config ];
45
+
IPEPREFIX=placeholder "out";
46
+
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
47
+
LUA_PACKAGE = "lua";
qtWrapperArgs = [ "--prefix PATH : ${texlive}/bin" ];
enableParallelBuilding = true;
29
-
#TODO: make .desktop entry
53
+
# TODO: make .desktop entry
description = "An editor for drawing figures";
33
-
homepage = "http://ipe.otfried.org";
34
-
license = lib.licenses.gpl3Plus;
57
+
homepage = "http://ipe.otfried.org"; # https not available
58
+
license = licenses.gpl3Plus;
Ipe is an extensible drawing editor for creating figures in PDF and Postscript format.
It supports making small figures for inclusion into LaTeX-documents
as well as presentations in PDF.
40
-
maintainers = [ lib.maintainers.ttuegel ];
41
-
platforms = lib.platforms.linux;
64
+
maintainers = with maintainers; [ ttuegel ];
65
+
platforms = platforms.linux;