nixpkgs/pkgs/applications/networking/cluster/kubecfg/default.nix

26 lines
616 B
Nix
Raw Normal View History

2017-10-03 01:26:39 +00:00
{ lib, buildGoPackage, fetchFromGitHub, ... }:
2021-09-23 01:55:27 +00:00
let version = "0.21.0"; in
2017-10-03 01:26:39 +00:00
buildGoPackage {
2019-08-13 21:52:01 +00:00
pname = "kubecfg";
inherit version;
2017-10-03 01:26:39 +00:00
src = fetchFromGitHub {
2019-06-26 18:57:37 +00:00
owner = "bitnami";
2017-10-03 01:26:39 +00:00
repo = "kubecfg";
rev = "v${version}";
2021-09-23 01:55:27 +00:00
sha256 = "sha256-Wu7+Xmb7ha3OG37DzLg2+/Sr9hB5oD3OIkC9h9Fa4QA=";
2017-10-03 01:26:39 +00:00
};
2019-06-26 18:57:37 +00:00
goPackagePath = "github.com/bitnami/kubecfg";
2017-10-03 01:26:39 +00:00
meta = {
description = "A tool for managing Kubernetes resources as code";
homepage = "https://github.com/bitnami/kubecfg";
2017-10-03 01:26:39 +00:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.unix;
};
}