3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/protoc-gen-twirp/default.nix

29 lines
636 B
Nix
Raw Normal View History

2021-03-29 15:27:17 +01:00
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "protoc-gen-twirp";
2021-06-16 12:21:26 +01:00
version = "8.1.0";
2021-03-29 15:27:17 +01:00
src = fetchFromGitHub {
owner = "twitchtv";
repo = "twirp";
rev = "v${version}";
2021-06-16 12:21:26 +01:00
sha256 = "sha256-ezSNrDfOE1nj4FlX7E7Z7/eGfQw1B7NP34aj8ml5pDk=";
2021-03-29 15:27:17 +01:00
};
goPackagePath = "github.com/twitchtv/twirp";
subPackages = [
"protoc-gen-twirp"
];
2021-04-09 20:29:37 +01:00
doCheck = true;
2021-03-29 15:27:17 +01: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 ];
};
}