92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
28 lines
636 B
Nix
28 lines
636 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "protoc-gen-twirp";
|
|
version = "8.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "twitchtv";
|
|
repo = "twirp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-p3gHVHGBHakOOQnJAuMK7vZumNXN15mOABuEHUG0wNs=";
|
|
};
|
|
|
|
goPackagePath = "github.com/twitchtv/twirp";
|
|
|
|
subPackages = [
|
|
"protoc-gen-twirp"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|