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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
stdenv.mkDerivation rec {
pname = "coin";
version = "2020-12-07-unstable";
src = fetchFromGitHub {
owner = "coin3d";
repo = "coin";
# rev = "Coin-${version}";
rev = "d5539998aff272b349590fe74d068659682ecd0d";
sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
};
postPatch = ''
sed -i /cpack.d/d CMakeLists.txt
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ boost libX11 libGL libGLU ];
meta = with lib; {
homepage = "https://github.com/coin3d/coin";
license = licenses.bsd3;
description = "High-level, retained-mode toolkit for effective 3D graphics development";
maintainers = with maintainers; [ gebner viric ];
platforms = platforms.linux;
};
}