1 { lib, buildGoModule, fetchgit }:
4 pname = "protoc-gen-twirp_php";
7 # fetchFromGitHub currently not possible, because go.mod and go.sum are export-ignored
9 url = "https://github.com/twirphp/twirp.git";
11 sha256 = "sha256-YMndB5DiER2Z1ARbw2cpxE1DBFCoVNWhMdsfA3X27EE=";
14 vendorHash = "sha256-Gf8thGuFAKX4pCNFJM3RbJ63vciLNcSqpOULcUOaGNw=";
16 subPackages = [ "protoc-gen-twirp_php" ];
19 "-X main.version=${version}"
23 description = "PHP port of Twitch's Twirp RPC framework";
24 mainProgram = "protoc-gen-twirp_php";
25 homepage = "https://github.com/twirphp/twirp";
26 license = licenses.mit;
27 maintainers = with maintainers; [ jojosch ];