nixpkgs/pkgs/by-name/ba/bazel-gazelle/package.nix

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

35 lines
773 B
Nix
Raw Normal View History

2020-04-06 18:42:53 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "bazel-gazelle";
2024-10-27 00:23:54 +01:00
version = "0.39.1";
2020-04-06 18:42:53 +01:00
src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
2024-10-27 00:23:54 +01:00
hash = "sha256-Y+k8ObfMwN6fLR2+Lwn64xHljDf3kxw2xp0YpJKbrDM=";
2020-04-06 18:42:53 +01:00
};
2023-04-18 07:20:51 +01:00
vendorHash = null;
2020-04-06 18:42:53 +01:00
doCheck = false;
2020-04-06 18:42:53 +01:00
subPackages = [ "cmd/gazelle" ];
meta = with lib; {
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 ];
mainProgram = "gazelle";
2020-04-06 18:42:53 +01:00
};
}