key-mon #11183: replace makeWrapper with makeWrapperArgs

This commit is contained in:
Cillian de Róiste 2015-11-21 16:02:57 +01:00
parent faff9ddad5
commit d373b9d9f3

View File

@ -1,5 +1,4 @@
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, pygtk
, pythonPackages }:
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, pygtk, pythonPackages }:
buildPythonPackage rec {
name = "key-mon-${version}";
@ -12,14 +11,13 @@ buildPythonPackage rec {
};
propagatedBuildInputs =
[ gnome.python_rsvg librsvg makeWrapper pygtk pythonPackages.xlib ];
[ gnome.python_rsvg librsvg pygtk pythonPackages.xlib ];
doCheck = false;
postInstall = ''
wrapProgram $out/bin/key-mon \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
makeWrapperArgs = ''
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
'';
meta = with stdenv.lib; {
homepage = http://code.google.com/p/key-mon;