2019-07-01 10:02:04 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "kube3d";
|
2019-08-06 16:01:06 +01:00
|
|
|
version = "1.3.1";
|
2019-07-01 10:02:04 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/rancher/k3d";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rancher";
|
|
|
|
repo = "k3d";
|
|
|
|
rev = "v${version}";
|
2019-08-06 16:01:06 +01:00
|
|
|
sha256 = "0bdpjnzyxd6mdc1qv0ml89qds6305kn3wmyci2kv6g2y7r7wxvm2";
|
2019-07-01 10:02:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/rancher/k3d";
|
|
|
|
description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ kuznero ];
|
|
|
|
};
|
|
|
|
}
|