2018-10-03 04:27:02 +00:00
|
|
|
{ stdenv, fetchurl, fltk13, ghostscript }:
|
2013-08-12 12:14:42 +00:00
|
|
|
|
2017-02-23 14:12:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "flpsed";
|
2017-02-23 14:12:56 +00:00
|
|
|
version = "0.7.3";
|
2013-08-12 12:14:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://www.flpsed.org/${pname}-${version}.tar.gz";
|
2016-01-03 20:29:16 +00:00
|
|
|
sha256 = "0vngqxanykicabhfdznisv82k5ypkxwg0s93ms9ribvhpm8vf2xp";
|
2013-08-12 12:14:42 +00:00
|
|
|
};
|
|
|
|
|
2017-02-23 14:12:56 +00:00
|
|
|
buildInputs = [ fltk13 ];
|
2013-08-12 12:14:42 +00:00
|
|
|
|
2017-02-23 14:12:56 +00: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 09:49:53 +00:00
|
|
|
description = "WYSIWYG PostScript annotator";
|
2018-09-01 22:04:23 +00:00
|
|
|
homepage = http://flpsed.org/flpsed.html;
|
2017-02-23 14:12:56 +00:00
|
|
|
license = licenses.gpl3;
|
2018-09-22 21:13:43 +00:00
|
|
|
platforms = platforms.linux;
|
2017-02-23 14:12:56 +00:00
|
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
2013-08-12 12:14:42 +00:00
|
|
|
};
|
|
|
|
}
|