nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildGoModule,
3 fetchFromGitHub,
4 lib,
5}:
6
7buildGoModule rec {
8 pname = "bazel-kazel";
9 version = "0.2.5";
10
11 src = fetchFromGitHub {
12 owner = "kubernetes";
13 repo = "repo-infra";
14 rev = "v${version}";
15 sha256 = "sha256-Y9VOlFrFmJQCQuwf3UztHGuJqmq/lSibTbI3oGjtNuE=";
16 };
17
18 vendorHash = "sha256-1+7Mx1Zh1WolqTpWNe560PRzRYaWVUVLvNvUOysaW5I=";
19
20 doCheck = false;
21
22 subPackages = [ "cmd/kazel" ];
23
24 meta = {
25 description = "BUILD file generator for go and bazel";
26 homepage = "https://github.com/kubernetes/repo-infra";
27 license = lib.licenses.asl20;
28 maintainers = with lib.maintainers; [ kalbasit ];
29 mainProgram = "kazel";
30 };
31}