2016-09-25 21:56:29 +00: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 22:09:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "keybinder3";
|
2018-11-22 16:51:31 +00:00
|
|
|
version = "0.3.2";
|
2014-04-25 22:09:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-11-22 16:51:31 +00:00
|
|
|
owner = "kupferlauncher";
|
2014-04-25 22:09:13 +00:00
|
|
|
repo = "keybinder";
|
|
|
|
rev = "keybinder-3.0-v${version}";
|
2018-11-22 16:51:31 +00:00
|
|
|
sha256 = "196ibn86j54fywfwwgyh89i9wygm4vh7ls19fn20vrnm6ijlzh9r";
|
2014-04-25 22:09:13 +00:00
|
|
|
};
|
|
|
|
|
2018-11-22 16:51:31 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
2014-04-25 22:09:13 +00: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 22:09:13 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh --prefix="$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for registering global key bindings";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/kupferlauncher/keybinder/";
|
2014-04-25 22:09:13 +00:00
|
|
|
license = licenses.mit;
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = platforms.linux;
|
2014-04-25 22:09:13 +00:00
|
|
|
maintainers = [ maintainers.cstrahan ];
|
|
|
|
};
|
|
|
|
}
|