1{ buildGoModule
2, fetchFromGitHub
3, lib
4}:
5
6buildGoModule rec {
7 pname = "bazel-gazelle";
8 version = "0.31.0";
9
10 src = fetchFromGitHub {
11 owner = "bazelbuild";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-Y1otQcGtG7jIJE5G0DET8bFRVL6AEG0r98X5PufT7Lw=";
15 };
16
17 vendorHash = null;
18
19 doCheck = false;
20
21 subPackages = [ "cmd/gazelle" ];
22
23 meta = with lib; {
24 homepage = "https://github.com/bazelbuild/bazel-gazelle";
25 description = ''
26 Gazelle is a Bazel build file generator for Bazel projects. It natively
27 supports Go and protobuf, and it may be extended to support new languages
28 and custom rule sets.
29 '';
30 license = licenses.asl20;
31 maintainers = with maintainers; [ kalbasit ];
32 mainProgram = "gazelle";
33 };
34}