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,28 @@
{ stdenv, lib, perlPackages, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tes3cmd";
version = "0.40-pre-release-2";
src = fetchFromGitHub {
owner = "john-moonsugar";
repo = pname;
rev = "f72e9ed9dd18e8545dd0dc2a4056c250cf505790";
sha256 = "01zqplp8yb0xnl54963n0zkz66rf3hn2x3i255jlhdhx1c43jba7";
};
buildInputs = [ perlPackages.perl ];
installPhase = ''
mkdir -p $out/bin
cp tes3cmd $out/bin/tes3cmd
'';
meta = with lib; {
description = "A command line tool for examining and modifying plugins for the Elder Scrolls game Morrowind by Bethesda Softworks";
homepage = "https://github.com/john-moonsugar/tes3cmd";
license = licenses.mit;
maintainers = [ maintainers.marius851000 ];
platforms = platforms.linux;
};
}