depot/third_party/nixpkgs/pkgs/development/tools/bazel-gazelle/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

34 lines
777 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "bazel-gazelle";
version = "0.28.0";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
sha256 = "sha256-axpRS8SZwChmLYSaarxZkwvrRk72XRHW7v4d11EtJ3k=";
};
vendorSha256 = 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";
};
}