nixpkgs/pkgs/development/libraries/keybinder/default.nix

44 lines
1.4 KiB
Nix
Raw Normal View History

2014-03-14 16:09:05 +04:00
{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, gnome3, pygobject3, pygtk
2014-03-14 16:28:41 +04:00
, gtk_doc, gtk2, python, pygobject, lua, libX11, libXext, libXrender, gobjectIntrospection
}:
stdenv.mkDerivation rec {
name = "keybinder-${version}";
version = "0.3.0";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/engla/keybinder/archive/v${version}.tar.gz";
sha256 = "0kkplz5snycik5xknwq1s8rnmls3qsp32z09mdpmaacydcw7g3cf";
};
buildInputs = [
2014-03-14 16:09:05 +04:00
autoconf automake libtool pkgconfig gnome3.gnome_common gtk_doc gnome3.gtk3
python pygobject3 pygtk lua libX11 libXext libXrender gobjectIntrospection gtk2
];
preConfigure = ''
./autogen.sh --prefix="$out"
'';
meta = with stdenv.lib; {
description = "Library for registering global key bindings";
longDescription = ''
keybinder is a library for registering global keyboard shortcuts.
Keybinder works with GTK-based applications using the X Window System.
The library contains:
* A C library, ``libkeybinder``
* Gobject-Introspection (gir) generated bindings
* Lua bindings, ``lua-keybinder``
* Python bindings, ``python-keybinder``
* An ``examples`` directory with programs in C, Lua, Python and Vala.
'';
homepage = https://github.com/engla/keybinder/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}