2013-08-12 14:14:42 +02:00
|
|
|
{stdenv, fetchurl, fltk13, ghostscript}:
|
|
|
|
|
2017-02-23 15:12:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "flpsed-${version}";
|
|
|
|
version = "0.7.3";
|
2013-08-12 14:14:42 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-23 15:12:56 +01:00
|
|
|
url = "http://www.flpsed.org/${name}.tar.gz";
|
2016-01-03 21:29:16 +01:00
|
|
|
sha256 = "0vngqxanykicabhfdznisv82k5ypkxwg0s93ms9ribvhpm8vf2xp";
|
2013-08-12 14:14:42 +02:00
|
|
|
};
|
|
|
|
|
2017-02-23 15:12:56 +01:00
|
|
|
buildInputs = [ fltk13 ];
|
2013-08-12 14:14:42 +02:00
|
|
|
|
2017-02-23 15:12:56 +01:00
|
|
|
postPatch = ''
|
|
|
|
# replace the execvp call to ghostscript
|
|
|
|
sed -e '/exec_gs/ {n; s|"gs"|"${stdenv.lib.getBin ghostscript}/bin/gs"|}' \
|
|
|
|
-i src/GsWidget.cxx
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "WYSIWYG PostScript annotator";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://http://flpsed.org/flpsed.html;
|
2017-02-23 15:12:56 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.mesaPlatforms;
|
|
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
2013-08-12 14:14:42 +02:00
|
|
|
};
|
|
|
|
}
|