2020-07-18 16:06:22 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazel-kazel";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.2.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubernetes";
|
|
|
|
repo = "repo-infra";
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-YWTWw5vDkDvIHOTqZM2xH8VPaVRuB2oyynvwWNmvPXs=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
vendorSha256 = "sha256-1+7Mx1Zh1WolqTpWNe560PRzRYaWVUVLvNvUOysaW5I=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
2020-07-18 16:06:22 +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 ];
|
|
|
|
};
|
|
|
|
}
|