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

26 lines
617 B
Nix
Raw Normal View History

2017-10-03 02:26:39 +01:00
{ lib, buildGoPackage, fetchFromGitHub, ... }:
2020-06-14 20:12:45 +01:00
let version = "0.16.0"; in
2017-10-03 02:26:39 +01:00
buildGoPackage {
2019-08-13 22:52:01 +01:00
pname = "kubecfg";
inherit version;
2017-10-03 02:26:39 +01:00
src = fetchFromGitHub {
2019-06-26 19:57:37 +01:00
owner = "bitnami";
2017-10-03 02:26:39 +01:00
repo = "kubecfg";
rev = "v${version}";
2020-06-14 20:12:45 +01:00
sha256 = "1ipw7r9fyqbh1bjvk7ifmj3skh799ly90y4ph37r8mqk1wb92rz4";
2017-10-03 02:26:39 +01:00
};
2019-06-26 19:57:37 +01:00
goPackagePath = "github.com/bitnami/kubecfg";
2017-10-03 02:26:39 +01:00
meta = {
description = "A tool for managing Kubernetes resources as code";
homepage = "https://github.com/bitnami/kubecfg";
2017-10-03 02:26:39 +01:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.unix;
};
}