2019-06-25 20:00:03 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-01-04 17:21:18 +00:00
|
|
|
|
2019-06-25 20:00:03 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "go-protobuf";
|
2020-06-14 16:12:17 +00:00
|
|
|
version = "1.4.2";
|
2018-01-04 17:21:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "protobuf";
|
2019-06-25 20:00:03 +00:00
|
|
|
rev = "v${version}";
|
2020-06-14 16:12:17 +00:00
|
|
|
sha256 = "0m5z81im4nsyfgarjhppayk4hqnrwswr3nix9mj8pff8x9jvcjqw";
|
2018-01-04 17:21:18 +00:00
|
|
|
};
|
|
|
|
|
2020-06-14 16:12:17 +00:00
|
|
|
vendorSha256 = "04w9vhkrwb2zfqk73xmhignjyvjqmz1j93slkqp7v8jj2dhyla54";
|
2019-06-25 20:00:03 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-04 17:21:18 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/golang/protobuf";
|
|
|
|
description = " Go bindings for protocol buffer";
|
|
|
|
maintainers = with maintainers; [ lewo ];
|
|
|
|
license = licenses.bsd3;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2018-01-04 17:21:18 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|