mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
keybinder-3.0: Add package
keybinder-3.0 is for GTK+ 3, whereas keybinder (already in nixpkgs) is for GTK+ 2. This adds version 0.3.0 of keybinder-3.0, which we named "keybinder3" in nixpkgs to (hopefully) lessen the confusion about what is package name and what is version number. [Bjørn: extend commit message beyond summary line]
This commit is contained in:
parent
3871005b7c
commit
a9858101bc
32
pkgs/development/libraries/keybinder3/default.nix
Normal file
32
pkgs/development/libraries/keybinder3/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, gnome3, pygobject3, pygtk
|
||||
, gtk_doc, gtk3, python, pygobject, 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;
|
||||
platform = platforms.linux;
|
||||
maintainers = [ maintainers.cstrahan ];
|
||||
};
|
||||
}
|
|
@ -4975,6 +4975,11 @@ let
|
|||
lua = lua5_1;
|
||||
};
|
||||
|
||||
keybinder3 = callPackage ../development/libraries/keybinder3 {
|
||||
automake = automake111x;
|
||||
lua = lua5_1;
|
||||
};
|
||||
|
||||
krb5 = callPackage ../development/libraries/kerberos/krb5.nix { };
|
||||
|
||||
lcms = lcms1;
|
||||
|
|
Loading…
Reference in a new issue