d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome
|
|
, gtk-doc, gtk2, lua, gobject-introspection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "keybinder";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "engla";
|
|
repo = "keybinder";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-elL6DZtzCwAtoyGZYP0jAma6tHPks2KAtrziWtBENGU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake gobject-introspection ];
|
|
|
|
buildInputs = [
|
|
libtool gnome.gnome-common gtk-doc gtk2
|
|
lua
|
|
];
|
|
|
|
configureFlags = [ "--disable-python" ];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh --prefix="$out" $configureFlags
|
|
'';
|
|
|
|
meta = with 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``
|
|
'';
|
|
homepage = "https://github.com/engla/keybinder/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|