2016-09-25 21:59:21 +00:00
|
|
|
{ stdenv, fetchurl, gnome2, librsvg, pythonPackages }:
|
2012-11-11 17:13:04 +00:00
|
|
|
|
2016-09-25 21:59:21 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2012-11-11 17:13:04 +00:00
|
|
|
name = "key-mon-${version}";
|
2014-08-24 13:18:08 +00:00
|
|
|
version = "1.17";
|
2012-11-11 17:13:04 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://key-mon.googlecode.com/files/${name}.tar.gz";
|
2014-08-24 13:18:08 +00:00
|
|
|
sha256 = "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q";
|
2012-11-11 17:13:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
2016-09-25 21:59:21 +00:00
|
|
|
[ gnome2.python_rsvg librsvg pythonPackages.pygtk pythonPackages.xlib ];
|
2012-11-11 17:13:04 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2015-11-21 15:31:38 +00:00
|
|
|
preFixup = ''
|
|
|
|
export makeWrapperArgs="--set GDK_PIXBUF_MODULE_FILE $GDK_PIXBUF_MODULE_FILE"
|
2015-11-21 15:02:57 +00:00
|
|
|
'';
|
2012-11-11 17:13:04 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|