2021-04-05 15:23:46 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "protoc-gen-twirp";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "8.1.2";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "twitchtv";
|
|
|
|
repo = "twirp";
|
|
|
|
rev = "v${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-Nxh10jldRcNelfrLAbJanRN+YiK8uPHBw9fV1Uchbyg=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/twitchtv/twirp";
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"protoc-gen-twirp"
|
|
|
|
];
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple RPC framework with protobuf service definitions";
|
|
|
|
homepage = "https://github.com/twitchtv/twirp";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jojosch ];
|
|
|
|
};
|
|
|
|
}
|