2016-09-25 23:56:29 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3
|
2018-07-21 02:44:44 +02:00
|
|
|
, gtk-doc, gtk3, libX11, libXext, libXrender, gobjectIntrospection
|
2014-04-26 00:09:13 +02: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 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-04-26 00:09:13 +02:00
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
autoconf automake libtool gnome3.gnome-common gtk-doc
|
2014-04-26 00:09:13 +02: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 16:52:02 +01:00
|
|
|
platforms = platforms.linux;
|
2014-04-26 00:09:13 +02:00
|
|
|
maintainers = [ maintainers.cstrahan ];
|
|
|
|
};
|
|
|
|
}
|