2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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";
|
2023-03-12 04:00:12 +00:00
|
|
|
version = "1.5.3";
|
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}";
|
2023-03-12 04:00:12 +00:00
|
|
|
sha256 = "sha256-cRB4oicBfYvhqtzafWWmf82AuvSnB0NhHwpp0pjgwQ0=";
|
2018-01-04 17:21:18 +00:00
|
|
|
};
|
|
|
|
|
2023-03-12 04:00:12 +00:00
|
|
|
vendorHash = "sha256-CcJjFMslSUiZMM0LLMM3BR53YMxyWk8m7hxjMI9tduE=";
|
2019-06-25 20:00:03 +00:00
|
|
|
|
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 03:58:04 +00:00
|
|
|
}
|