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-09-06 17:39:58 +01:00
version = "0.1.0";
2020-07-17 21:10:32 +01:00
src = fetchFromGitHub {
owner = "kubernetes";
repo = "repo-infra";
rev = "v${version}";
2020-09-06 17:39:58 +01:00
sha256 = "121asn0h2vfgqnjk72wqjcfq0w15k15abjdm39i8hv455kzrc2hs";
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 ];
};
}