nixpkgs/pkgs/development/tools/protoc-gen-go/default.nix

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

25 lines
628 B
Nix
Raw Normal View History

2021-03-29 14:23:06 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoc-gen-go";
2023-12-22 21:55:57 +00:00
version = "1.32.0";
2021-03-29 14:23:06 +00:00
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protobuf-go";
rev = "v${version}";
2023-12-22 21:55:57 +00:00
sha256 = "sha256-7i6neRiC0fdn5wnPDp7vCDPlVglzt7tDR0qtG9V/qZA=";
2021-03-29 14:23:06 +00:00
};
2023-12-22 21:55:57 +00:00
vendorHash = "sha256-nGI/Bd6eMEoY0sBwWEtyhFowHVvwLKjbT4yfzFz6Z3E=";
2021-03-29 14:23:06 +00:00
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 ];
};
}