mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
27 lines
695 B
Nix
27 lines
695 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-go-vtproto";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "planetscale";
|
|
repo = "vtprotobuf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-fOF7n1WeQ3s1S+o5NbAoTUnqqk5IHtKvXCb2o8LmI5U=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-JpSVO8h7+StLG9/dJQkmrIlh9zIHABoqP1hq+X5ajVs=";
|
|
|
|
excludedPackages = [ "conformance" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2";
|
|
homepage = "https://github.com/planetscale/vtprotobuf";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.zane ];
|
|
};
|
|
}
|