2012-11-11 17:13:04 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, pygtk
|
|
|
|
, pythonPackages }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "key-mon-${version}";
|
2013-12-04 04:44:19 +00:00
|
|
|
version = "1.16";
|
2012-11-11 17:13:04 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://key-mon.googlecode.com/files/${name}.tar.gz";
|
2013-12-04 04:44:19 +00:00
|
|
|
sha256 = "1pfki1fyh3q29sj6kq1chhi1h2v9ki6sp09qyww59rjraypvzsis";
|
2012-11-11 17:13:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ gnome.python_rsvg librsvg makeWrapper pygtk pythonPackages.xlib ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/key-mon --prefix GDK_PIXBUF_MODULE_FILE : \
|
|
|
|
${librsvg}/lib/gdk-pixbuf/loaders.cache
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|