forked from mirrors/nixpkgs
1451a52a38
I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
28 lines
708 B
Nix
28 lines
708 B
Nix
{ stdenv, fetchurl, fltk13, ghostscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "flpsed";
|
|
version = "0.7.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.flpsed.org/${pname}-${version}.tar.gz";
|
|
sha256 = "0vngqxanykicabhfdznisv82k5ypkxwg0s93ms9ribvhpm8vf2xp";
|
|
};
|
|
|
|
buildInputs = [ fltk13 ];
|
|
|
|
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; {
|
|
description = "WYSIWYG PostScript annotator";
|
|
homepage = http://flpsed.org/flpsed.html;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|