2021-03-29 16:27:17 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "protoc-gen-twirp";
|
2022-10-25 05:38:58 +02:00
|
|
|
version = "8.1.3";
|
2021-03-29 16:27:17 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "twitchtv";
|
|
|
|
repo = "twirp";
|
|
|
|
rev = "v${version}";
|
2022-10-25 05:38:58 +02:00
|
|
|
sha256 = "sha256-p3gHVHGBHakOOQnJAuMK7vZumNXN15mOABuEHUG0wNs=";
|
2021-03-29 16:27:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/twitchtv/twirp";
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"protoc-gen-twirp"
|
|
|
|
];
|
|
|
|
|
2021-04-09 21:29:37 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-03-29 16:27:17 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple RPC framework with protobuf service definitions";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "protoc-gen-twirp";
|
2021-03-29 16:27:17 +02:00
|
|
|
homepage = "https://github.com/twitchtv/twirp";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jojosch ];
|
|
|
|
};
|
|
|
|
}
|