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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
675 B
Nix
Raw Normal View History

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
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 ];
mainProgram = "kazel";
2020-07-17 20:10:32 +00:00
};
}