depot/third_party/nixpkgs/pkgs/development/tools/bazel-gazelle/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

33 lines
749 B
Nix

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