nixpkgs/pkgs/applications/video/key-mon/default.nix
Cillian de Róiste 13b339fe88 key-mon #11183: use $GDK_PIXBUF_MODULE_FILE with makeWrapperArgs
This is more robust, since it won't be affected when the path to
gdk-pixbuf loaders.cache changes. Thanks @domenkozar.
2015-11-21 16:31:38 +01:00

29 lines
806 B
Nix

{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, pygtk, pythonPackages }:
buildPythonPackage rec {
name = "key-mon-${version}";
version = "1.17";
namePrefix = "";
src = fetchurl {
url = "http://key-mon.googlecode.com/files/${name}.tar.gz";
sha256 = "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q";
};
propagatedBuildInputs =
[ gnome.python_rsvg librsvg pygtk pythonPackages.xlib ];
doCheck = false;
preFixup = ''
export makeWrapperArgs="--set GDK_PIXBUF_MODULE_FILE $GDK_PIXBUF_MODULE_FILE"
'';
meta = with stdenv.lib; {
homepage = http://code.google.com/p/key-mon;
description = "Utility to show live keyboard and mouse status for teaching and screencasts";
license = licenses.asl20;
maintainers = [ maintainers.goibhniu ];
};
}