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

27 lines
651 B
Nix
Raw Normal View History

2020-07-17 22:10:32 +02:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "bazel-kazel";
2020-08-13 18:24:11 +02:00
version = "0.0.11";
2020-07-17 22:10:32 +02:00
src = fetchFromGitHub {
owner = "kubernetes";
repo = "repo-infra";
rev = "v${version}";
2020-08-13 18:24:11 +02:00
sha256 = "0fcm7gjsv70qxnwbgy2sgx7clyhlfnkvdxsjgcrkaf5xds8hpys7";
2020-07-17 22:10:32 +02:00
};
2020-08-02 03:46:30 +02:00
vendorSha256 = "1pzkjh4n9ai8yqi98bkdhicjdr2l8j3fckl5n90c2gdcwqyxvgkf";
2020-07-17 22:10:32 +02:00
doCheck = false;
2020-07-17 22:10:32 +02: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 ];
};
}