mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|