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, buildGoModule, fetchurl, fetchFromGitHub }:
buildGoModule rec {
pname = "mtr-exporter";
version = "0.1.0";
src = fetchFromGitHub {
owner = "mgumz";
repo = "mtr-exporter";
rev = "3ce854a53a44780d2294f59284d21b06aeae6940";
sha256 = "sha256-PZCSuvtTBD7yoUE1fR9Z/u3aa1BZgbrcj18smnWRYf4=";
};
vendorSha256 = "0njn0ac7j3lv8ax6jc3bg3hh96a42jal212qk6zxrd46nb5l1rj8";
meta = with lib; {
description = ''
Mtr-exporter periodically executes mtr to a given host and
provides the measured results as prometheus metrics.
'';
homepage = "https://github.com/mgumz/mtr-exporter";
license = licenses.bsd3;
maintainers = with maintainers; [ jakubgs ];
};
}