2016-09-25 22:56:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3
|
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
|
|
|
};
|
|
|
|
|
2018-11-22 16:51:31 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
2014-04-25 23:09:13 +01:00
|
|
|
buildInputs = [
|
2018-11-22 16:51:31 +00:00
|
|
|
gnome3.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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for registering global key bindings";
|
2018-11-22 16:51:31 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|