mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
34 lines
917 B
Nix
34 lines
917 B
Nix
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3
|
|
, gtk-doc, gtk3, python, lua, libX11, libXext, libXrender, gobjectIntrospection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "keybinder3-${version}";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "engla";
|
|
repo = "keybinder";
|
|
rev = "keybinder-3.0-v${version}";
|
|
sha256 = "1jdcrfhvqffhc2h69197wkpc5j5synk5mm8rqhz27qfrfhh4vf0q";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
autoconf automake libtool gnome3.gnome-common gtk-doc
|
|
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;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.cstrahan ];
|
|
};
|
|
}
|