mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
28 lines
673 B
Nix
28 lines
673 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "bazel-kazel";
|
|
version = "0.2.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubernetes";
|
|
repo = "repo-infra";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Y9VOlFrFmJQCQuwf3UztHGuJqmq/lSibTbI3oGjtNuE=";
|
|
};
|
|
|
|
vendorHash = "sha256-1+7Mx1Zh1WolqTpWNe560PRzRYaWVUVLvNvUOysaW5I=";
|
|
|
|
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 ];
|
|
mainProgram = "kazel";
|
|
};
|
|
}
|