Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome-common, 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-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 ]; };}