2016-09-25 22:56:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3
|
2018-07-21 01:44:44 +01:00
|
|
|
, gtk-doc, gtk3, libX11, libXext, libXrender, gobjectIntrospection
|
2014-04-25 23:09:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "keybinder3-${version}";
|
|
|
|
version = "0.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "engla";
|
|
|
|
repo = "keybinder";
|
|
|
|
rev = "keybinder-3.0-v${version}";
|
|
|
|
sha256 = "1jdcrfhvqffhc2h69197wkpc5j5synk5mm8rqhz27qfrfhh4vf0q";
|
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-04-25 23:09:13 +01:00
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
autoconf automake libtool gnome3.gnome-common gtk-doc
|
2014-04-25 23:09:13 +01:00
|
|
|
libX11 libXext libXrender gobjectIntrospection gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh --prefix="$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for registering global key bindings";
|
|
|
|
homepage = https://github.com/engla/keybinder/;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|