uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
47
pkgs/development/libraries/keybinder/default.nix
Normal file
47
pkgs/development/libraries/keybinder/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome
|
||||
, gtk-doc, gtk2, python2Packages, lua, gobject-introspection
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (python2Packages) python pygtk;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "keybinder";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "engla";
|
||||
repo = "keybinder";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-q/+hqhvXIknT+/5oENcWSr1OuF00kaZlXFUP1fdCMlk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake ];
|
||||
buildInputs = [
|
||||
libtool gnome.gnome-common gtk-doc gtk2
|
||||
python pygtk lua gobject-introspection
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh --prefix="$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for registering global key bindings";
|
||||
longDescription = ''
|
||||
keybinder is a library for registering global keyboard shortcuts.
|
||||
Keybinder works with GTK-based applications using the X Window System.
|
||||
|
||||
The library contains:
|
||||
|
||||
* A C library, ``libkeybinder``
|
||||
* Gobject-Introspection (gir) generated bindings
|
||||
* Lua bindings, ``lua-keybinder``
|
||||
* Python bindings, ``python-keybinder``
|
||||
* An ``examples`` directory with programs in C, Lua, Python and Vala.
|
||||
'';
|
||||
homepage = "https://github.com/engla/keybinder/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue