Merge pull request #68287 from rileyinman/inkscape-strictdeps

inkscape: add wrapGAppsHook for icons (fixed for strictDeps)
This commit is contained in:
Jan Tojnar 2019-09-08 20:59:08 +02:00 committed by GitHub
commit 975d5f18eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
, gsl, python2, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, potrace, cmake, hicolor-icon-theme
, librsvg, wrapGAppsHook
}:
let
@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
'';
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ]
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env wrapGAppsHook ]
++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [
libXft libpng zlib popt boehmgc
@ -48,6 +49,8 @@ stdenv.mkDerivation rec {
gsl poppler imagemagick libwpg librevenge
libvisio libcdr libexif potrace hicolor-icon-theme
librsvg # for loading icons
python2Env perlPackages.perl
];