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 @@
{ lib, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
pname = "waitron";
version = "unstable-2020-01-24";
goPackagePath = "github.com/ns1/waitron";
src = fetchFromGitHub {
owner = "ns1";
repo = "waitron";
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE=";
};
patches = [
./staticfiles-directory.patch
];
goDeps = ./deps.nix;
meta = {
description = "A tool to manage network booting of machines";
homepage = "https://github.com/ns1/waitron";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ guibert ];
platforms = lib.platforms.linux;
};
}