Add key-mon
a utility to show live keyboard and mouse status for teaching and screencasts
This commit is contained in:
parent
d900c86302
commit
27f3a41754
30
pkgs/applications/video/key-mon/default.nix
Normal file
30
pkgs/applications/video/key-mon/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, pygtk
|
||||
, pythonPackages }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "key-mon-${version}";
|
||||
version = "1.13";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://key-mon.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "02h7lcnyqwyqsycd1vlvl11ms81v0zmr9p0pfyl5gmzry9dj7imj";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -7295,6 +7295,8 @@ let
|
||||
|
||||
kermit = callPackage ../tools/misc/kermit { };
|
||||
|
||||
keymon = callPackage ../applications/video/key-mon { };
|
||||
|
||||
kino = callPackage ../applications/video/kino {
|
||||
inherit (gnome) libglade;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user