mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
35 lines
773 B
Nix
35 lines
773 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "bazel-gazelle";
|
|
version = "0.38.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bazelbuild";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-0FOKLBu1eZMK1nXOmXN4achrZgNUqzzcuC6sH0RLtbc=";
|
|
};
|
|
|
|
vendorHash = 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 ];
|
|
mainProgram = "gazelle";
|
|
};
|
|
}
|