depot/third_party/nixpkgs/pkgs/development/tools/bazel-gazelle/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

31 lines
No EOL
728 B
Nix

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