mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
27 lines
693 B
Nix
27 lines
693 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-go-vtproto";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "planetscale";
|
|
repo = "vtprotobuf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ji6elc0hN49A4Ov/ckd8chPR4/8ZX11THzVz9HJGui4=";
|
|
};
|
|
|
|
vendorHash = "sha256-UMOEePOtOtmm9ShQy5LXcEUTv8/SIG9dU7/9vLhrBxQ=";
|
|
|
|
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 ];
|
|
};
|
|
}
|