2019-06-25 22:00:03 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-01-04 18:21:18 +01:00
|
|
|
|
2019-06-25 22:00:03 +02:00
|
|
|
buildGoModule rec {
|
2018-01-04 18:21:18 +01:00
|
|
|
name = "go-protobuf-${version}";
|
2019-06-25 22:00:03 +02:00
|
|
|
version = "1.3.1";
|
2018-01-04 18:21:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "protobuf";
|
2019-06-25 22:00:03 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
|
2018-01-04 18:21:18 +01:00
|
|
|
};
|
|
|
|
|
2019-06-25 22:00:03 +02:00
|
|
|
modSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
|
|
|
|
2018-01-04 18:21:18 +01: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 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2018-01-04 18:21:18 +01:00
|
|
|
};
|
|
|
|
}
|