depot/third_party/nixpkgs/pkgs/by-name/ku/kubefirst/package.nix

35 lines
895 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "kubefirst";
version = "2.8.4";
src = fetchFromGitHub {
owner = "konstructio";
repo = "kubefirst";
tag = "v${version}";
hash = "sha256-5A5luRvUr5qBua6Jw5/SJqIHLZfEpkXFoqxTnpUjlas=";
};
vendorHash = "sha256-1u34cuPUY/5fYd073UhRUu/5/1nhPadTI06+3o+uE7w=";
ldflags = [
"-s"
"-w"
"-X=github.com/konstructio/kubefirst-api/configs.K1Version=v${version}"
];
doCheck = false;
meta = with lib; {
description = "Tool to create instant GitOps platforms that integrate some of the best tools in cloud native from scratch";
mainProgram = "kubefirst";
homepage = "https://github.com/konstructio/kubefirst/";
changelog = "https://github.com/konstructio/kubefirst/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ qjoly ];
};
}