drone-cli: add darwin aarch64 support
This commit is contained in:
parent
aff836536a
commit
024ac27aff
|
@ -0,0 +1,23 @@
|
|||
diff --git a/go.mod b/go.mod
|
||||
index 99f9b37..ebbdb54 100644
|
||||
--- a/go.mod
|
||||
+++ b/go.mod
|
||||
@@ -28,3 +28,5 @@ require (
|
||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
|
||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
||||
)
|
||||
+
|
||||
+replace github.com/jackspirou/syscerts => github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3
|
||||
diff --git a/go.sum b/go.sum
|
||||
index 8c379ed..283ba39 100644
|
||||
--- a/go.sum
|
||||
+++ b/go.sum
|
||||
@@ -64,6 +64,8 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE
|
||||
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
|
||||
github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ=
|
||||
+github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3 h1:2d14fzBv1dj4PimhBxXDlaltfNU6rGmA4NyYa3aB5xQ=
|
||||
+github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3/go.mod h1:ijVDlqqT/Ok/B2v7GaiSj4gfCl7uipB8/8jwgJvrTSk=
|
||||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
|
|
@ -5,16 +5,18 @@ buildGoModule rec {
|
|||
pname = "drone-cli";
|
||||
revision = "v${version}";
|
||||
|
||||
vendorSha256 = "sha256-bYjEVmQ7lPd+Gn5cJwlzBQkMkLAXA1iSa1DXz/IM1Ss=";
|
||||
vendorSha256 = "0hh079qvxs4bcf0yy42y6sb303wxxam5h2mz56irdl0q2vqkk0f0";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
patches = [ ./0001-use-different-upstream-for-gomod.patch ];
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drone";
|
||||
owner = "harness";
|
||||
repo = "drone-cli";
|
||||
rev = revision;
|
||||
sha256 = "sha256-TFIGKTVrAMSOFEmu3afdDKBgyEwF2KIv3rt1fS6rCxw=";
|
||||
|
@ -22,7 +24,7 @@ buildGoModule rec {
|
|||
|
||||
meta = with lib; {
|
||||
mainProgram = "drone";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ techknowlogick ];
|
||||
license = licenses.asl20;
|
||||
description = "Command line client for the Drone continuous integration server";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue