nixpkgs/pkgs/development/tools/bazel-gazelle/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
777 B
Nix
Raw Normal View History

2020-04-06 17:42:53 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "bazel-gazelle";
2022-09-15 14:21:41 +00:00
version = "0.27.0";
2020-04-06 17:42:53 +00:00
src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
2022-09-15 14:21:41 +00:00
sha256 = "sha256-V3XNh2Npxt941wvLICMGmEBsji/TNoDkWBC27EjLsKY=";
2020-04-06 17:42:53 +00:00
};
vendorSha256 = null;
2020-04-06 17:42:53 +00:00
doCheck = false;
2020-04-06 17:42:53 +00:00
subPackages = [ "cmd/gazelle" ];
meta = with lib; {
homepage = "https://github.com/bazelbuild/bazel-gazelle";
2020-04-06 17:42:53 +00: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 ];
mainProgram = "gazelle";
2020-04-06 17:42:53 +00:00
};
}