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

27 lines
648 B
Nix
Raw Normal View History

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