tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
drone-cli: add darwin aarch64 support
techknowlogick
4 years ago
024ac27a
aff83653
+28
-3
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
continuous-integration
drone-cli
0001-use-different-upstream-for-gomod.patch
default.nix
+23
pkgs/development/tools/continuous-integration/drone-cli/0001-use-different-upstream-for-gomod.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
pname = "drone-cli";
6
revision = "v${version}";
7
8
-
vendorSha256 = "sha256-bYjEVmQ7lPd+Gn5cJwlzBQkMkLAXA1iSa1DXz/IM1Ss=";
9
10
doCheck = false;
0
0
11
12
ldflags = [
13
"-X main.version=${version}"
14
];
15
16
src = fetchFromGitHub {
17
-
owner = "drone";
18
repo = "drone-cli";
19
rev = revision;
20
sha256 = "sha256-TFIGKTVrAMSOFEmu3afdDKBgyEwF2KIv3rt1fS6rCxw=";
···
22
23
meta = with lib; {
24
mainProgram = "drone";
25
-
maintainers = with maintainers; [ ];
26
license = licenses.asl20;
27
description = "Command line client for the Drone continuous integration server";
28
};
···
5
pname = "drone-cli";
6
revision = "v${version}";
7
8
+
vendorSha256 = "0hh079qvxs4bcf0yy42y6sb303wxxam5h2mz56irdl0q2vqkk0f0";
9
10
doCheck = false;
11
+
12
+
patches = [ ./0001-use-different-upstream-for-gomod.patch ];
13
14
ldflags = [
15
"-X main.version=${version}"
16
];
17
18
src = fetchFromGitHub {
19
+
owner = "harness";
20
repo = "drone-cli";
21
rev = revision;
22
sha256 = "sha256-TFIGKTVrAMSOFEmu3afdDKBgyEwF2KIv3rt1fS6rCxw=";
···
24
25
meta = with lib; {
26
mainProgram = "drone";
27
+
maintainers = with maintainers; [ techknowlogick ];
28
license = licenses.asl20;
29
description = "Command line client for the Drone continuous integration server";
30
};