2020-07-17 22:10:32 +02:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazel-kazel";
|
2022-02-12 02:32:51 +01:00
|
|
|
version = "0.2.5";
|
2020-07-17 22:10:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubernetes";
|
|
|
|
repo = "repo-infra";
|
|
|
|
rev = "v${version}";
|
2022-02-12 02:32:51 +01:00
|
|
|
sha256 = "sha256-Y9VOlFrFmJQCQuwf3UztHGuJqmq/lSibTbI3oGjtNuE=";
|
2020-07-17 22:10:32 +02:00
|
|
|
};
|
|
|
|
|
2021-01-21 19:07:41 +01:00
|
|
|
vendorSha256 = "sha256-1+7Mx1Zh1WolqTpWNe560PRzRYaWVUVLvNvUOysaW5I=";
|
2020-07-17 22:10:32 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-17 22:10:32 +02: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 21:34:55 +02:00
|
|
|
mainProgram = "kazel";
|
2020-07-17 22:10:32 +02:00
|
|
|
};
|
|
|
|
}
|