1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/applications/video/key-mon/default.nix
2014-08-24 15:18:08 +02:00

31 lines
870 B
Nix

{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, 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 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 ];
};
}