2019-06-25 21:00:03 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-01-04 17:21:18 +00:00
|
|
|
|
2019-06-25 21:00:03 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "go-protobuf";
|
2019-08-04 11:06:01 +01:00
|
|
|
version = "1.3.2";
|
2018-01-04 17:21:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "protobuf";
|
2019-06-25 21:00:03 +01:00
|
|
|
rev = "v${version}";
|
2019-08-04 11:06:01 +01:00
|
|
|
sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym";
|
2018-01-04 17:21:18 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
2019-06-25 21:00:03 +01:00
|
|
|
|
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-05-01 02:59:00 +01:00
|
|
|
}
|