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,30 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wormhole-william";
version = "1.0.6";
src = fetchFromGitHub {
owner = "psanford";
repo = "wormhole-william";
rev = "v${version}";
sha256 = "sha256-L/0zgQkwADElpIzOJAROa3CN/YNl76Af2pAhX8y2Wxs=";
};
vendorSha256 = "sha256-J6iht3cagcwFekydShgaYJtkNLfEvSDqonkC7+frldM=";
preCheck = ''
# wormhole_test.go:692: failed to establish connection
substituteInPlace wormhole/wormhole_test.go \
--replace "TestWormholeDirectoryTransportSendRecvDirect" \
"SkipWormholeDirectoryTransportSendRecvDirect"
'';
meta = with lib; {
homepage = "https://github.com/psanford/wormhole-william";
description = "End-to-end encrypted file transfers";
changelog = "https://github.com/psanford/wormhole-william/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ psanford ];
};
}