mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
10dd73b5e2
kyebinder never supported GTK 3, only keybinder-3.0 (keybinder3 package) does.
This effectively reverts c0c835dcce
47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, gnome3
|
|
, gtk-doc, gtk2, python2Packages, lua, gobjectIntrospection
|
|
}:
|
|
|
|
let
|
|
inherit (python2Packages) python pygtk;
|
|
in 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";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
autoconf automake libtool gnome3.gnome-common gtk-doc gtk2
|
|
python pygtk lua gobjectIntrospection
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|