depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-go/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

24 lines
628 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoc-gen-go";
version = "1.32.0";
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protobuf-go";
rev = "v${version}";
sha256 = "sha256-7i6neRiC0fdn5wnPDp7vCDPlVglzt7tDR0qtG9V/qZA=";
};
vendorHash = "sha256-nGI/Bd6eMEoY0sBwWEtyhFowHVvwLKjbT4yfzFz6Z3E=";
subPackages = [ "cmd/protoc-gen-go" ];
meta = with lib; {
description = "Go support for Google's protocol buffers";
homepage = "https://google.golang.org/protobuf";
license = licenses.bsd3;
maintainers = with maintainers; [ jojosch ];
};
}