mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
27 lines
728 B
Nix
27 lines
728 B
Nix
{stdenv, fetchurl, fltk13, ghostscript}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "flpsed-${version}";
|
|
version = "0.7.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.flpsed.org/${name}.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://http://flpsed.org/flpsed.html;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.mesaPlatforms;
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
|
};
|
|
}
|