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
42
pkgs/development/libraries/libgaminggear/default.nix
Normal file
42
pkgs/development/libraries/libgaminggear/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, stdenv, fetchurl, cmake, pkg-config, gettext
|
||||
, gtk2, libcanberra, libnotify, pcre, sqlite, xorg
|
||||
, harfbuzz
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgaminggear";
|
||||
version = "0.15.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libgaminggear/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0jf5i1iv8j842imgiixbhwcr6qcwa93m27lzr6gb01ri5v35kggz";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "bin" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config gettext ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gtk2 libcanberra libnotify pcre sqlite xorg.libXdmcp xorg.libpthreadstubs
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DINSTALL_CMAKE_MODULESDIR=lib/cmake"
|
||||
"-DINSTALL_PKGCONFIGDIR=lib/pkgconfig"
|
||||
"-DINSTALL_LIBDIR=lib"
|
||||
];
|
||||
|
||||
# https://sourceforge.net/p/libgaminggear/discussion/general/thread/b43a776b3a/
|
||||
NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ];
|
||||
|
||||
postFixup = ''
|
||||
moveToOutput bin "$bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Provides functionality for gaming input devices";
|
||||
homepage = "https://sourceforge.net/projects/libgaminggear/";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue