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
61
pkgs/os-specific/linux/xf86-input-wacom/default.nix
Normal file
61
pkgs/os-specific/linux/xf86-input-wacom/default.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, xorgproto
|
||||
, libX11
|
||||
, libXext
|
||||
, libXi
|
||||
, libXinerama
|
||||
, libXrandr
|
||||
, libXrender
|
||||
, ncurses
|
||||
, pixman
|
||||
, pkg-config
|
||||
, udev
|
||||
, utilmacros
|
||||
, xorgserver
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xf86-input-wacom";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxwacom";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-WitvT1y9KpXJriMr6Z9CrmAQdKPBZ5g9fP2nIgzJzAc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXext
|
||||
libXi
|
||||
libXinerama
|
||||
libXrandr
|
||||
libXrender
|
||||
ncurses
|
||||
udev
|
||||
utilmacros
|
||||
pixman
|
||||
xorgproto
|
||||
xorgserver
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-xorg-module-dir=${placeholder "out"}/lib/xorg/modules"
|
||||
"--with-sdkdir=${placeholder "out"}/include/xorg"
|
||||
"--with-xorg-conf-dir=${placeholder "out"}/share/X11/xorg.conf.d"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ goibhniu fortuneteller2k ];
|
||||
description = "Wacom digitizer driver for X11";
|
||||
homepage = "http://linuxwacom.sourceforge.net";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux; # Probably, works with other unixes as well
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue