2020-07-17 20:10:32 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazel-kazel";
|
2022-02-12 01:32:51 +00:00
|
|
|
version = "0.2.5";
|
2020-07-17 20:10:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubernetes";
|
|
|
|
repo = "repo-infra";
|
|
|
|
rev = "v${version}";
|
2022-02-12 01:32:51 +00:00
|
|
|
sha256 = "sha256-Y9VOlFrFmJQCQuwf3UztHGuJqmq/lSibTbI3oGjtNuE=";
|
2020-07-17 20:10:32 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 18:07:41 +00:00
|
|
|
vendorSha256 = "sha256-1+7Mx1Zh1WolqTpWNe560PRzRYaWVUVLvNvUOysaW5I=";
|
2020-07-17 20:10:32 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-17 20:10:32 +00:00
|
|
|
subPackages = [ "cmd/kazel" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "kazel - a BUILD file generator for go and bazel";
|
|
|
|
homepage = "https://github.com/kubernetes/repo-infra";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "kazel";
|
2020-07-17 20:10:32 +00:00
|
|
|
};
|
|
|
|
}
|