depot/third_party/nixpkgs/pkgs/development/tools/go-protobuf/default.nix
Default email d7dbe45cea Project import generated by Copybara.
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
2020-06-18 09:06:33 +02:00

23 lines
No EOL
614 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-protobuf";
version = "1.4.2";
src = fetchFromGitHub {
owner = "golang";
repo = "protobuf";
rev = "v${version}";
sha256 = "0m5z81im4nsyfgarjhppayk4hqnrwswr3nix9mj8pff8x9jvcjqw";
};
vendorSha256 = "04w9vhkrwb2zfqk73xmhignjyvjqmz1j93slkqp7v8jj2dhyla54";
meta = with stdenv.lib; {
homepage = "https://github.com/golang/protobuf";
description = " Go bindings for protocol buffer";
maintainers = with maintainers; [ lewo ];
license = licenses.bsd3;
platforms = platforms.unix;
};
}