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
31
pkgs/os-specific/linux/xf86-video-nested/default.nix
Normal file
31
pkgs/os-specific/linux/xf86-video-nested/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchgit, autoreconfHook, xorgproto, libX11, libXext
|
||||
, pixman, pkg-config, utilmacros, xorgserver
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "xf86-video-nested";
|
||||
version = "unstable-2017-06-12";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://anongit.freedesktop.org/xorg/driver/xf86-video-nested";
|
||||
rev = "6a48b385c41ea89354d0b2ee7f4649a1d1d9ec70";
|
||||
sha256 = "133rd2kvr2q2wmwpx82bb93qbi8wm8qp1vlmbhgc7aslz0j4cqqv";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ autoreconfHook xorgproto libX11 libXext pixman
|
||||
pkg-config utilmacros xorgserver
|
||||
];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
CFLAGS = "-I${pixman}/include/pixman-1";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://cgit.freedesktop.org/xorg/driver/xf86-video-nested";
|
||||
description = "A driver to run Xorg on top of Xorg or something else";
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue