2023-05-11 06:07:39 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubefirst";
|
2023-08-03 12:36:53 +00:00
|
|
|
version = "2.2.7";
|
2023-05-11 06:07:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubefirst";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-03 12:36:53 +00:00
|
|
|
hash = "sha256-sIX+B08JNwWr4QsWWi4kpqaY9uZbIeiM2sVvMCvSb0I=";
|
2023-05-11 06:07:39 +00:00
|
|
|
};
|
|
|
|
|
2023-08-03 12:36:53 +00:00
|
|
|
vendorHash = "sha256-F+kzj2lBSFawfc8OyPf6V2XVB1418uhv+cv3CHpXUk0=";
|
2023-05-11 06:07:39 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/kubefirst/runtime/configs.K1Version=v${version}"];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Kubefirst CLI creates instant GitOps platforms that integrate some of the best tools in cloud native from scratch.";
|
|
|
|
homepage = "https://github.com/kubefirst/kubefirst/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ qjoly ];
|
|
|
|
};
|
|
|
|
}
|