nixpkgs/pkgs/development/tools/bazel-kazel/default.nix

27 lines
648 B
Nix
Raw Normal View History

2020-07-17 22:10:32 +02:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "bazel-kazel";
2021-04-10 07:52:24 +02:00
version = "0.2.2";
2020-07-17 22:10:32 +02:00
src = fetchFromGitHub {
owner = "kubernetes";
repo = "repo-infra";
rev = "v${version}";
2021-04-10 07:52:24 +02:00
sha256 = "sha256-EfK8uJQvZkB5V/SGOLRznAFGsgVGwFv6MWkLPWePYvM=";
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
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 ];
};
}