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,38 @@
{ lib, stdenv, fetchurl, tcl, tk, incrtcl }:
tcl.mkTclDerivation rec {
pname = "itk-tcl";
version = "4.1.0";
src = fetchurl {
url = "mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itk${version}.tar.gz";
sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
};
buildInputs = [ tk incrtcl ];
enableParallelBuilding = true;
configureFlags = [
"--with-tk=${tk}/lib"
"--with-itcl=${incrtcl}/lib"
"--with-tkinclude=${tk.dev}/include"
];
postInstall = ''
rmdir $out/bin
mv $out/lib/itk${version}/* $out/lib
ln -s libitk${version}${stdenv.hostPlatform.extensions.sharedLibrary} \
$out/lib/libitk${lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
rmdir $out/lib/itk${version}
'';
outputs = [ "out" "dev" "man" ];
meta = with lib; {
homepage = "http://incrtcl.sourceforge.net/";
description = "Mega-widget toolkit for incr Tk";
license = licenses.tcltk;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
}