git.iko.soy/typeable/nixpkgs
on master help sign in
kub3d: init at v1.1.0
commit35efc84284c9b2ef674309846144d70d122edc0c authorN G <ngerstle+gitkraken@gmail.com> dateMon 1 Jul 2019, 11:02 (7 years ago) parent51bcf11
3 files changed+201
pkgs/applications/networking/cluster/kube3d/default.nix+25 pkgs/applications/networking/cluster/kube3d/deps.nix+174 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/cluster/kube3d/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ pname = "kube3d";
5+ version = "1.1.0";
6+
7+ goPackagePath = "github.com/rancher/k3d";
8+
9+ src = fetchFromGitHub {
10+ owner = "rancher";
11+ repo = "k3d";
12+ rev = "v${version}";
13+ sha256 = "180q7a95znpkhfqcaw3asqrq22r6ppw98qsggp2wfm746mllg5pc";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ homepage = "https://github.com/rancher/k3d";
20+ description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container";
21+ license = licenses.mit;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ kuznero ];
24+ };
25+}
pkgs/applications/networking/cluster/kube3d/deps.nixnew file+174
@@ -0,0 +1,174 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+[
3+ {
4+ goPackagePath = "github.com/Microsoft/go-winio";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/Microsoft/go-winio";
8+ rev = "v0.4.12";
9+ sha256 = "10v2f1xaw2cc97mjqnxzgs9ydpqv71f0ynp1spcywqw97la56zqw";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/davecgh/go-spew";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/davecgh/go-spew";
17+ rev = "v1.1.0";
18+ sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/docker/distribution";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/docker/distribution";
26+ rev = "v2.7.1";
27+ sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/docker/docker";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/docker/docker";
35+ rev = "v1.13.1";
36+ sha256 = "0l9kjibnpwcgk844sibxk9ppyqniw9r0np1mzp95f8f461jb0iar";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/docker/go-connections";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/docker/go-connections";
44+ rev = "v0.4.0";
45+ sha256 = "0mv6f6b5nljc17dmwmc28hc0y11pqglz7x0d2mjrwdmfxf64hwqq";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/docker/go-units";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/docker/go-units";
53+ rev = "v0.3.3";
54+ sha256 = "0npxsb3pp89slwf4a73fxm20hykad8xggij6i6hcd5jy19bjrd93";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/mattn/go-runewidth";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/mattn/go-runewidth";
62+ rev = "v0.0.4";
63+ sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/mitchellh/go-homedir";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/mitchellh/go-homedir";
71+ rev = "v1.1.0";
72+ sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/olekukonko/tablewriter";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/olekukonko/tablewriter";
80+ rev = "v0.0.1";
81+ sha256 = "0hh95glg7d2md185r03wn52j2r33jc4zil0qvcrs66ka7bdxi7vj";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/opencontainers/go-digest";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/opencontainers/go-digest";
89+ rev = "v1.0.0-rc1";
90+ sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
91+ };
92+ }
93+ {
94+ goPackagePath = "github.com/pkg/errors";
95+ fetch = {
96+ type = "git";
97+ url = "https://github.com/pkg/errors";
98+ rev = "v0.8.1";
99+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/pmezard/go-difflib";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/pmezard/go-difflib";
107+ rev = "v1.0.0";
108+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
109+ };
110+ }
111+ {
112+ goPackagePath = "github.com/stretchr/objx";
113+ fetch = {
114+ type = "git";
115+ url = "https://github.com/stretchr/objx";
116+ rev = "v0.1.0";
117+ sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
118+ };
119+ }
120+ {
121+ goPackagePath = "github.com/stretchr/testify";
122+ fetch = {
123+ type = "git";
124+ url = "https://github.com/stretchr/testify";
125+ rev = "v1.3.0";
126+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
127+ };
128+ }
129+ {
130+ goPackagePath = "github.com/urfave/cli";
131+ fetch = {
132+ type = "git";
133+ url = "https://github.com/urfave/cli";
134+ rev = "v1.20.0";
135+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
136+ };
137+ }
138+ {
139+ goPackagePath = "golang.org/x/crypto";
140+ fetch = {
141+ type = "git";
142+ url = "https://go.googlesource.com/crypto";
143+ rev = "c2843e01d9a2";
144+ sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
145+ };
146+ }
147+ {
148+ goPackagePath = "golang.org/x/net";
149+ fetch = {
150+ type = "git";
151+ url = "https://go.googlesource.com/net";
152+ rev = "b630fd6fe46b";
153+ sha256 = "0m84kwckmmc0z05kjb4dd43g1g61al32a4z593flpcbaqx8di5sd";
154+ };
155+ }
156+ {
157+ goPackagePath = "golang.org/x/sys";
158+ fetch = {
159+ type = "git";
160+ url = "https://go.googlesource.com/sys";
161+ rev = "d0b11bdaac8a";
162+ sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
163+ };
164+ }
165+ {
166+ goPackagePath = "golang.org/x/text";
167+ fetch = {
168+ type = "git";
169+ url = "https://go.googlesource.com/text";
170+ rev = "v0.3.0";
171+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
172+ };
173+ }
174+]
pkgs/top-level/all-packages.nix+2
@@ -24326,4 +24326,6 @@ in
2432624326
2432724327 dapper = callPackage ../development/tools/dapper { };
2432824328
24329+ kube3d = callPackage ../applications/networking/cluster/kube3d {};
24330+
2432924331}