diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-02-17 20:37:55 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-02-17 20:50:22 +0100 |
commit | 1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65 (patch) | |
tree | bd33eb28b25a79aba17557adff6a3bfabfb6e75b /pkgs/development/libraries/keybinder | |
parent | 09b23658069eee3f070aec5585938c968dc6e5dc (diff) | |
download | nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar.gz nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar.bz2 nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar.lz nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar.xz nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.tar.zst nixlib-1d1667b7b0e34a4ef361386cb58dfc2ca3e1eb65.zip |
keybinder: new package
keybinder is a library for registering global keyboard shortcuts. keybinder works with GTK-based applications using the X Window System. https://github.com/engla/keybinder/
Diffstat (limited to 'pkgs/development/libraries/keybinder')
-rw-r--r-- | pkgs/development/libraries/keybinder/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/libraries/keybinder/default.nix b/pkgs/development/libraries/keybinder/default.nix new file mode 100644 index 000000000000..20e2cd2218ff --- /dev/null +++ b/pkgs/development/libraries/keybinder/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, gnome_common +, gtk_doc, gtk2, python, pygtk, pygobject, lua +}: + +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 = [ + autoconf automake libtool pkgconfig gnome_common gtk_doc gtk2 + python pygtk pygobject lua + ]; + + 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; + platform = platforms.linux; + maintainers = [ maintainers.bjornfor ]; + }; +} |