2017-05-17 21:26:11 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
|
2020-04-16 20:21:46 +02:00
|
|
|
, libjpeg, libpng, qtbase, mkDerivation
|
2015-12-12 17:57:38 +01:00
|
|
|
}:
|
|
|
|
|
2020-04-16 20:21:46 +02:00
|
|
|
mkDerivation rec {
|
2019-10-22 08:49:16 +02:00
|
|
|
name = "ipe-7.2.13";
|
2013-01-03 16:13:55 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-12-01 13:11:20 +01:00
|
|
|
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
|
2019-10-22 08:49:16 +02:00
|
|
|
sha256 = "1a6a88r7j5z01z6k1z72a8g3n6lxdjjxxkdrzrfdd6df2gbs6g5g";
|
2013-01-03 16:13:55 +01:00
|
|
|
};
|
|
|
|
|
2019-02-04 17:30:04 +01:00
|
|
|
sourceRoot = "${name}/src";
|
2017-02-28 14:38:57 +01:00
|
|
|
|
2019-09-09 01:38:31 +02:00
|
|
|
IPEPREFIX=placeholder "out";
|
2015-12-12 17:57:38 +01:00
|
|
|
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
2015-08-15 05:30:21 +02:00
|
|
|
LUA_PACKAGE = "lua";
|
2013-01-03 16:13:55 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2019-03-10 02:23:34 +01:00
|
|
|
libjpeg libpng zlib qtbase freetype cairo lua5 texlive ghostscript
|
2013-01-03 16:13:55 +01:00
|
|
|
];
|
|
|
|
|
2020-04-16 20:21:46 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-12-12 17:57:38 +01:00
|
|
|
|
2020-04-16 20:21:46 +02:00
|
|
|
qtWrapperArgs = [ ''--prefix PATH : ${texlive}/bin'' ];
|
2013-01-03 16:13:55 +01:00
|
|
|
|
2019-02-04 17:30:04 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-01-03 16:13:55 +01:00
|
|
|
#TODO: make .desktop entry
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An editor for drawing figures";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://ipe.otfried.org";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-01-03 16:13:55 +01:00
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
2015-08-15 05:28:42 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
2015-08-15 05:28:51 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-01-03 16:13:55 +01:00
|
|
|
};
|
|
|
|
}
|