protoc-gen-twirp: init at 7.1.1

This commit is contained in:
Johannes Schleifenbaum 2021-03-29 16:27:17 +02:00
parent 42ed94c543
commit 180781246f
No known key found for this signature in database
GPG Key ID: 059093B1A278BCD0
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "protoc-gen-twirp";
version = "7.1.1";
src = fetchFromGitHub {
owner = "twitchtv";
repo = "twirp";
rev = "v${version}";
sha256 = "sha256-GN7akAp0zzS8wVhgXlT1ceFUFKH4Sz74XQ8ofIE8T/k=";
};
goPackagePath = "github.com/twitchtv/twirp";
subPackages = [
"protoc-gen-twirp"
"protoc-gen-twirp_python"
];
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 ];
};
}

View File

@ -259,6 +259,8 @@ in
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };
ptags = callPackage ../development/tools/misc/ptags { };
ptouch-print = callPackage ../misc/ptouch-print { };