nixpkgs/pkgs/by-name/ba/bazel-gazelle/package.nix
2025-05-29 17:04:28 +02:00

35 lines
788 B
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "bazel-gazelle";
version = "0.43.0";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "bazel-gazelle";
rev = "v${version}";
hash = "sha256-jj2mAGzz5BOim008LNRH0tVLbJy/mNodsTENMVbjUbk=";
};
vendorHash = null;
doCheck = false;
subPackages = [ "cmd/gazelle" ];
meta = with lib; {
homepage = "https://github.com/bazelbuild/bazel-gazelle";
description = ''
Gazelle is a Bazel build file generator for Bazel projects. It natively
supports Go and protobuf, and it may be extended to support new languages
and custom rule sets.
'';
license = licenses.asl20;
maintainers = with maintainers; [ kalbasit ];
mainProgram = "gazelle";
};
}