summary refs log tree commit diff
path: root/pkgs/development/libraries/keybinder3/default.nix
blob: cfc8590c6390965985f40c1d3002f65a3d8c81b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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";
  };

  buildInputs = [
    autoconf automake libtool pkgconfig 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 ];
  };
}