nixpkgs/pkgs/development/tools/bazel-kazel/default.nix
2020-10-29 09:06:48 +00:00

27 lines
650 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "bazel-kazel";
version = "0.1.2";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "repo-infra";
rev = "v${version}";
sha256 = "1fn6ppyjgg3v80n9rc9712xms5yq3xkkd95zyd64l5gh9mshjn86";
};
vendorSha256 = "1pzkjh4n9ai8yqi98bkdhicjdr2l8j3fckl5n90c2gdcwqyxvgkf";
doCheck = false;
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 ];
};
}