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-5PACgKqc8rWqaA6Syj5NyxHm3827yd67tm0mwVSMnWQ=";
14 vendorSha256 = "sha256-qQFlBviRISEnPBt0q5391RqUrPTI/QDxg3MNfwWE8MI=";
16 subPackages = [ "protoc-gen-twirp_php" ];
19 "-X main.version=${version}"
23 description = "PHP port of Twitch's Twirp RPC framework";
24 homepage = "https://github.com/twirphp/twirp";
25 license = licenses.mit;
26 maintainers = with maintainers; [ jojosch ];