2020-04-06 18:42:53 +01:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazel-gazelle";
|
2020-07-23 17:06:22 +01:00
|
|
|
version = "0.21.1";
|
2020-04-06 18:42:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bazelbuild";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-23 17:06:22 +01:00
|
|
|
sha256 = "12ffrildgx4lah7bdnhr7i8z5jp05lll6gmmpzshmzz8dsgf39y4";
|
2020-04-06 18:42:53 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = null;
|
2020-04-06 18:42:53 +01:00
|
|
|
|
|
|
|
subPackages = [ "cmd/gazelle" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bazelbuild/bazel-gazelle";
|
2020-04-06 18:42:53 +01:00
|
|
|
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 ];
|
|
|
|
};
|
2020-07-23 17:06:22 +01:00
|
|
|
}
|