git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43244 from bricewge/drone-cli

drone-cli: add package

commit2f4f631b6a9d004fb801fea065a508cdd0eebce7 authorxeji <36407913+xeji@users.noreply.github.com> dateTue 10 Jul 2018, 17:23 (8 years ago) parent11e8ecffb25fe7
4 files changed+305
maintainers/maintainer-list.nix+5 pkgs/development/tools/continuous-integration/drone-cli/default.nix+24 pkgs/development/tools/continuous-integration/drone-cli/deps.nix+274 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -716,6 +716,11 @@
716716 github = "brian-dawn";
717717 name = "Brian Dawn";
718718 };
719+ bricewge = {
720+ email = "bricewge@gmail.com";
721+ github = "bricewge";
722+ name = "Brice Waegeneire";
723+ };
719724 bstrik = {
720725 email = "dutchman55@gmx.com";
721726 github = "bstrik";
pkgs/development/tools/continuous-integration/drone-cli/default.nixnew file+24
@@ -0,0 +1,24 @@
1+# with import <nixpkgs>{};
2+{ stdenv, fetchFromGitHub, buildGoPackage }:
3+
4+buildGoPackage rec {
5+ name = "drone-cli-${version}";
6+ version = "0.8.6";
7+ revision = "v${version}";
8+ goPackagePath = "github.com/drone/drone-cli";
9+
10+ goDeps= ./deps.nix;
11+
12+ src = fetchFromGitHub {
13+ owner = "drone";
14+ repo = "drone-cli";
15+ rev = revision;
16+ sha256 = "1vvilpqyx9jl0lc9hr73qxngwhwbyk81fycal7ys1w59gv9hxrh9";
17+ };
18+
19+ meta = with stdenv.lib; {
20+ maintainers = with maintainers; [ bricewge ];
21+ license = licenses.asl20;
22+ description = "Command line client for the Drone continuous integration server.";
23+ };
24+}
pkgs/development/tools/continuous-integration/drone-cli/deps.nixnew file+274
@@ -0,0 +1,274 @@
1+# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
2+[
3+ {
4+ goPackagePath = "github.com/Microsoft/go-winio";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/Microsoft/go-winio";
8+ rev = "7da180ee92d8bd8bb8c37fc560e673e6557c392f";
9+ sha256 = "19gjjhmzswhm11wzj38r5alxypmflmy0z42flhc3czhmmwv7b1av";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/Sirupsen/logrus";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/Sirupsen/logrus";
17+ rev = "d682213848ed68c0a260ca37d6dd5ace8423f5ba";
18+ sha256 = "0nzyqwzx3k7nqfq8q7yv32gaf3ymq3bpwhkmw1hj2zakq5a93d8x";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/cncd/pipeline";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/cncd/pipeline";
26+ rev = "3a09486affc9215ba52f55b1f6e10182458d1aba";
27+ sha256 = "17v9bwmqhr9pqppsqpb2qg7klip5jmks5c5kq6lxw6iq75q3p5zm";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/docker/distribution";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/docker/distribution";
35+ rev = "7dba427612198a11b161a27f9d40bb2dca1ccd20";
36+ sha256 = "0sv2044znv2cjcll0lc45wbjhsy0hpfkbczhl07m81i62r929l27";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/docker/docker";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/docker/docker";
44+ rev = "f645ffca04abf2dd6c89ac9057a1eb7d2b0ac338";
45+ sha256 = "0ic848invzfyzj9psbd8d3wvqddxbxbpj8vy2dbdqcwl26qabaqf";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/docker/go-connections";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/docker/go-connections";
53+ rev = "eb315e36415380e7c2fdee175262560ff42359da";
54+ sha256 = "0jsci3f0dc3bd0bab7byq24qvwpd6dw34hnd2kmvvgrg31xzb73f";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/docker/go-units";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/docker/go-units";
62+ rev = "f2145db703495b2e525c59662db69a7344b00bb8";
63+ sha256 = "0ql76imazd27h1dnnala49qsaw2dl6hspcwzh20bgm9ajcv0fwd0";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/docker/libcompose";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/docker/libcompose";
71+ rev = "1c4bd4542afb20db0b51afd71d9ebceaf206e2dd";
72+ sha256 = "1prm5w6d0zvc39jq7wxdgis3pzzra2wdqxqn68ip5dhf3m32c8vn";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/drone/drone-go";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/drone/drone-go";
80+ rev = "7f20e6c113d3ffa2af80401c4eba7d510c8fd875";
81+ sha256 = "1qm5nmzqmvjl8c2nfhhbp5a4ij1zfw4dinx278ns9qb0w973614k";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/drone/envsubst";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/drone/envsubst";
89+ rev = "f4d1a8ef8670afc9eea1fb95ee09a979fd2763a3";
90+ sha256 = "10rj5zskp6f0bw648c1fn76v18jlidjd7ri76kk3csz2bwjm3m9c";
91+ };
92+ }
93+ {
94+ goPackagePath = "github.com/fatih/color";
95+ fetch = {
96+ type = "git";
97+ url = "https://github.com/fatih/color";
98+ rev = "507f6050b8568533fb3f5504de8e5205fa62a114";
99+ sha256 = "0k1v9dkhrxiqhg48yqkwzpd7x40xx38gv2pgknswbsy4r8w644i7";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/flynn/go-shlex";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/flynn/go-shlex";
107+ rev = "3f9db97f856818214da2e1057f8ad84803971cff";
108+ sha256 = "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia";
109+ };
110+ }
111+ {
112+ goPackagePath = "github.com/ghodss/yaml";
113+ fetch = {
114+ type = "git";
115+ url = "https://github.com/ghodss/yaml";
116+ rev = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7";
117+ sha256 = "0skwmimpy7hlh7pva2slpcplnm912rp3igs98xnqmn859kwa5v8g";
118+ };
119+ }
120+ {
121+ goPackagePath = "github.com/golang/protobuf";
122+ fetch = {
123+ type = "git";
124+ url = "https://github.com/golang/protobuf";
125+ rev = "925541529c1fa6821df4e44ce2723319eb2be768";
126+ sha256 = "1d3zjvhl115l23xakj0014qpjchivlg098h10v5nfirkk1i9f9sa";
127+ };
128+ }
129+ {
130+ goPackagePath = "github.com/google/go-jsonnet";
131+ fetch = {
132+ type = "git";
133+ url = "https://github.com/drone/go-jsonnet.git";
134+ rev = "0274286eef945e5e24be6ebfc13a9deefdd312ee";
135+ # sha256 = "105jqawa401z5kcsbpan3cg9lryxlnnrclg6s9xnzslwd9wxyfrl";
136+ sha256 = "0crbsmwgy9iav7rnhkgkqv8cbyl6q60bjkbfcaqxb6m47q3d544a";
137+ };
138+ }
139+ {
140+ goPackagePath = "github.com/jackspirou/syscerts";
141+ fetch = {
142+ type = "git";
143+ url = "https://github.com/jackspirou/syscerts";
144+ rev = "b68f5469dff16e102bd6a2d5b3e79341c938d736";
145+ sha256 = "0mjz64qnysmy9lh0hrjvwir5ndlh5li13m6zvfrl0s5gi7m9v0kd";
146+ };
147+ }
148+ {
149+ goPackagePath = "github.com/joho/godotenv";
150+ fetch = {
151+ type = "git";
152+ url = "https://github.com/joho/godotenv";
153+ rev = "a79fa1e548e2c689c241d10173efd51e5d689d5b";
154+ sha256 = "09610yqswxa02905mp9cqgsm50r76saagzddc55sqav4ad04j6qm";
155+ };
156+ }
157+ {
158+ goPackagePath = "github.com/mattn/go-colorable";
159+ fetch = {
160+ type = "git";
161+ url = "https://github.com/mattn/go-colorable";
162+ rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
163+ sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
164+ };
165+ }
166+ {
167+ goPackagePath = "github.com/mattn/go-isatty";
168+ fetch = {
169+ type = "git";
170+ url = "https://github.com/mattn/go-isatty";
171+ rev = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39";
172+ sha256 = "06w45aqz2a6yrk25axbly2k5wmsccv8cspb94bfmz4izvw8h927n";
173+ };
174+ }
175+ {
176+ goPackagePath = "github.com/opencontainers/go-digest";
177+ fetch = {
178+ type = "git";
179+ url = "https://github.com/opencontainers/go-digest";
180+ rev = "279bed98673dd5bef374d3b6e4b09e2af76183bf";
181+ sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
182+ };
183+ }
184+ {
185+ goPackagePath = "github.com/pkg/browser";
186+ fetch = {
187+ type = "git";
188+ url = "https://github.com/pkg/browser";
189+ rev = "c90ca0c84f15f81c982e32665bffd8d7aac8f097";
190+ sha256 = "05xpqsns08blmwdh8aw5kpq2d9x4fl91535j6np1ylw1q2b67b8i";
191+ };
192+ }
193+ {
194+ goPackagePath = "github.com/pkg/errors";
195+ fetch = {
196+ type = "git";
197+ url = "https://github.com/pkg/errors";
198+ rev = "645ef00459ed84a119197bfb8d8205042c6df63d";
199+ sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
200+ };
201+ }
202+ {
203+ goPackagePath = "github.com/urfave/cli";
204+ fetch = {
205+ type = "git";
206+ url = "https://github.com/urfave/cli";
207+ rev = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1";
208+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
209+ };
210+ }
211+ {
212+ goPackagePath = "golang.org/x/crypto";
213+ fetch = {
214+ type = "git";
215+ url = "https://go.googlesource.com/crypto";
216+ rev = "650f4a345ab4e5b245a3034b110ebc7299e68186";
217+ sha256 = "0r1ij3lq07d6kg3dlpj508vwkwmz0qpwcrbismisw6vkl7ls7w89";
218+ };
219+ }
220+ {
221+ goPackagePath = "golang.org/x/net";
222+ fetch = {
223+ type = "git";
224+ url = "https://go.googlesource.com/net";
225+ rev = "f5dfe339be1d06f81b22525fe34671ee7d2c8904";
226+ sha256 = "01y9j7pjnnld4ipmzjvs0hls0hh698f2sga8cxaw5y6r5j7igaah";
227+ };
228+ }
229+ {
230+ goPackagePath = "golang.org/x/oauth2";
231+ fetch = {
232+ type = "git";
233+ url = "https://go.googlesource.com/oauth2";
234+ rev = "543e37812f10c46c622c9575afd7ad22f22a12ba";
235+ sha256 = "0kc816fq1zj5wdw4mfa7w2q26rnh273157w8n0d30xpzl8ba2isr";
236+ };
237+ }
238+ {
239+ goPackagePath = "golang.org/x/sync";
240+ fetch = {
241+ type = "git";
242+ url = "https://go.googlesource.com/sync";
243+ rev = "fd80eb99c8f653c847d294a001bdf2a3a6f768f5";
244+ sha256 = "12lzldlj1cqc1babp1hkkn76fglzn5abkqvmbpr4f2j95mf9x836";
245+ };
246+ }
247+ {
248+ goPackagePath = "golang.org/x/sys";
249+ fetch = {
250+ type = "git";
251+ url = "https://go.googlesource.com/sys";
252+ rev = "37707fdb30a5b38865cfb95e5aab41707daec7fd";
253+ sha256 = "1abrr2507a737hdqv4q7pw7hv6ls9pdiq9crhdi52r3gcz6hvizg";
254+ };
255+ }
256+ {
257+ goPackagePath = "google.golang.org/appengine";
258+ fetch = {
259+ type = "git";
260+ url = "https://github.com/golang/appengine";
261+ rev = "150dc57a1b433e64154302bdc40b6bb8aefa313a";
262+ sha256 = "0w3knznv39k8bm85ri62f83czcrxknql7dv6p9hk1a5jx3xljgxq";
263+ };
264+ }
265+ {
266+ goPackagePath = "gopkg.in/yaml.v2";
267+ fetch = {
268+ type = "git";
269+ url = "https://github.com/go-yaml/yaml";
270+ rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4";
271+ sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0";
272+ };
273+ }
274+]
pkgs/top-level/all-packages.nix+2
@@ -2110,6 +2110,8 @@ with pkgs;
21102110
21112111 drone = callPackage ../development/tools/continuous-integration/drone { };
21122112
2113+ drone-cli = callPackage ../development/tools/continuous-integration/drone-cli { };
2114+
21132115 dropbear = callPackage ../tools/networking/dropbear { };
21142116
21152117 dtach = callPackage ../tools/misc/dtach { };