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

27 lines
650 B
Nix
Raw Normal View History

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