diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-04-25 18:09:13 -0400 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-13 19:52:45 +0200 |
commit | a9858101bc535e3bd08c17e5d052c7083217d5ca (patch) | |
tree | 7ccd2f7862365abe010325b967e2cca03c583ea8 /pkgs/development/libraries/keybinder3 | |
parent | 3871005b7c61203f50b81fb2bfbc4207f5db1f1a (diff) |
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]
Diffstat (limited to 'pkgs/development/libraries/keybinder3')
-rw-r--r-- | pkgs/development/libraries/keybinder3/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/keybinder3/default.nix b/pkgs/development/libraries/keybinder3/default.nix new file mode 100644 index 000000000000..75704848f7f3 --- /dev/null +++ b/pkgs/development/libraries/keybinder3/default.nix @@ -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 ]; + }; +} |