2021-05-07 22:18:14 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome
|
2018-12-02 11:41:15 +00:00
|
|
|
, gtk-doc, gtk3, libX11, libXext, libXrender, gobject-introspection
|
2014-04-25 23:09:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "keybinder3";
|
2018-11-22 16:51:31 +00:00
|
|
|
version = "0.3.2";
|
2014-04-25 23:09:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-11-22 16:51:31 +00:00
|
|
|
owner = "kupferlauncher";
|
2014-04-25 23:09:13 +01:00
|
|
|
repo = "keybinder";
|
|
|
|
rev = "keybinder-3.0-v${version}";
|
2018-11-22 16:51:31 +00:00
|
|
|
sha256 = "196ibn86j54fywfwwgyh89i9wygm4vh7ls19fn20vrnm6ijlzh9r";
|
2014-04-25 23:09:13 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
2014-04-25 23:09:13 +01:00
|
|
|
buildInputs = [
|
2021-05-07 22:18:14 +01:00
|
|
|
gnome.gnome-common gtk-doc gtk3
|
2018-12-02 11:41:15 +00:00
|
|
|
libX11 libXext libXrender gobject-introspection
|
2014-04-25 23:09:13 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh --prefix="$out"
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-04-25 23:09:13 +01:00
|
|
|
description = "Library for registering global key bindings";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kupferlauncher/keybinder/";
|
2014-04-25 23:09:13 +01:00
|
|
|
license = licenses.mit;
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = platforms.linux;
|
2014-04-25 23:09:13 +01:00
|
|
|
maintainers = [ maintainers.cstrahan ];
|
|
|
|
};
|
|
|
|
}
|