2016-09-25 23:59:21 +02:00
|
|
|
{ stdenv, fetchurl, gnome2, librsvg, pythonPackages }:
|
2012-11-11 18:13:04 +01:00
|
|
|
|
2016-09-25 23:59:21 +02:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "key-mon";
|
2014-08-24 15:18:08 +02:00
|
|
|
version = "1.17";
|
2012-11-11 18:13:04 +01:00
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/key-mon/${pname}-${version}.tar.gz";
|
2014-08-24 15:18:08 +02:00
|
|
|
sha256 = "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q";
|
2012-11-11 18:13:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
2016-09-25 23:59:21 +02:00
|
|
|
[ gnome2.python_rsvg librsvg pythonPackages.pygtk pythonPackages.xlib ];
|
2012-11-11 18:13:04 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2015-11-21 16:31:38 +01:00
|
|
|
preFixup = ''
|
|
|
|
export makeWrapperArgs="--set GDK_PIXBUF_MODULE_FILE $GDK_PIXBUF_MODULE_FILE"
|
2015-11-21 16:02:57 +01:00
|
|
|
'';
|
2012-11-11 18:13:04 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-03 21:27:28 +02:00
|
|
|
homepage = https://code.google.com/archive/p/key-mon;
|
2012-11-11 18:13:04 +01:00
|
|
|
description = "Utility to show live keyboard and mouse status for teaching and screencasts";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|