drone-cli: add darwin aarch64 support

+28 -3
+23
pkgs/development/tools/continuous-integration/drone-cli/0001-use-different-upstream-for-gomod.patch
··· 1 + diff --git a/go.mod b/go.mod 2 + index 99f9b37..ebbdb54 100644 3 + --- a/go.mod 4 + +++ b/go.mod 5 + @@ -28,3 +28,5 @@ require ( 6 + golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 7 + golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d 8 + ) 9 + + 10 + +replace github.com/jackspirou/syscerts => github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3 11 + diff --git a/go.sum b/go.sum 12 + index 8c379ed..283ba39 100644 13 + --- a/go.sum 14 + +++ b/go.sum 15 + @@ -64,6 +64,8 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE 16 + github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= 17 + github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= 18 + github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= 19 + +github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3 h1:2d14fzBv1dj4PimhBxXDlaltfNU6rGmA4NyYa3aB5xQ= 20 + +github.com/akhenakh/syscerts v0.0.0-20201230132944-1f7ee1de1ba3/go.mod h1:ijVDlqqT/Ok/B2v7GaiSj4gfCl7uipB8/8jwgJvrTSk= 21 + github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 22 + github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 23 + github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+5 -3
pkgs/development/tools/continuous-integration/drone-cli/default.nix
··· 5 5 pname = "drone-cli"; 6 6 revision = "v${version}"; 7 7 8 - vendorSha256 = "sha256-bYjEVmQ7lPd+Gn5cJwlzBQkMkLAXA1iSa1DXz/IM1Ss="; 8 + vendorSha256 = "0hh079qvxs4bcf0yy42y6sb303wxxam5h2mz56irdl0q2vqkk0f0"; 9 9 10 10 doCheck = false; 11 + 12 + patches = [ ./0001-use-different-upstream-for-gomod.patch ]; 11 13 12 14 ldflags = [ 13 15 "-X main.version=${version}" 14 16 ]; 15 17 16 18 src = fetchFromGitHub { 17 - owner = "drone"; 19 + owner = "harness"; 18 20 repo = "drone-cli"; 19 21 rev = revision; 20 22 sha256 = "sha256-TFIGKTVrAMSOFEmu3afdDKBgyEwF2KIv3rt1fS6rCxw="; ··· 22 24 23 25 meta = with lib; { 24 26 mainProgram = "drone"; 25 - maintainers = with maintainers; [ ]; 27 + maintainers = with maintainers; [ techknowlogick ]; 26 28 license = licenses.asl20; 27 29 description = "Command line client for the Drone continuous integration server"; 28 30 };