2021-01-23 12:26:19 +00:00
|
|
|
{ lib, 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";
|
2020-10-18 10:57:30 +01:00
|
|
|
version = "1.4.3";
|
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}";
|
2020-10-18 10:57:30 +01:00
|
|
|
sha256 = "1kf1d7xmyjvy0z6j5czp6nqyvj9zrk6liv6znif08927xqfrzyln";
|
2018-01-04 17:21:18 +00:00
|
|
|
};
|
|
|
|
|
2020-06-14 17:12:17 +01:00
|
|
|
vendorSha256 = "04w9vhkrwb2zfqk73xmhignjyvjqmz1j93slkqp7v8jj2dhyla54";
|
2019-06-25 21:00:03 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-01-04 17:21:18 +00:00
|
|
|
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 04:58:04 +01:00
|
|
|
}
|