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

27 lines
650 B
Nix
Raw Normal View History

2020-07-17 20:10:32 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "bazel-kazel";
2020-10-17 17:52:37 +00:00
version = "0.1.1";
2020-07-17 20:10:32 +00:00
src = fetchFromGitHub {
owner = "kubernetes";
repo = "repo-infra";
rev = "v${version}";
2020-10-17 17:52:37 +00:00
sha256 = "0d59kf0y12sa1bki7gzcb2nzppwj3gxlv133bsnl9gc8vx1d8ldg";
2020-07-17 20:10:32 +00:00
};
2020-08-02 01:46:30 +00:00
vendorSha256 = "1pzkjh4n9ai8yqi98bkdhicjdr2l8j3fckl5n90c2gdcwqyxvgkf";
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 ];
};
}