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,25 @@
{ lib, fetchFromGitHub, stdenv }:
stdenv.mkDerivation rec {
pname = "passh";
version = "2020-03-18";
src = fetchFromGitHub {
owner = "clarkwang";
repo = pname;
rev = "7112e667fc9e65f41c384f89ff6938d23e86826c";
sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5";
};
installPhase = ''
mkdir -p $out/bin
cp passh $out/bin
'';
meta = with lib; {
homepage = "https://github.com/clarkwang/passh";
description = "An sshpass alternative for non-interactive ssh auth";
license = licenses.gpl3;
maintainers = [ maintainers.lovesegfault ];
platforms = platforms.unix;
};
}