protoc-gen-twirp_php: 0.6.0 -> 0.7.1
This commit is contained in:
parent
93184413f2
commit
94514eec55
@ -2,23 +2,19 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "protoc-gen-twirp_php";
|
pname = "protoc-gen-twirp_php";
|
||||||
version = "0.6.0";
|
version = "0.7.1";
|
||||||
|
|
||||||
# fetchFromGitHub currently not possible, because go.mod and go.sum are export-ignored
|
# fetchFromGitHub currently not possible, because go.mod and go.sum are export-ignored
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/twirphp/twirp.git";
|
url = "https://github.com/twirphp/twirp.git";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-WnvCdAJIMA4A+f7H61qcVbKNn23bNVOC15vMCEKc+CI=";
|
sha256 = "sha256-94GN/Gq3RXXg83eUsmIcdF4VuK4syCgD0Zkc5eDiVYE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-LIMxrWXlK7+JIRmtukdXPqfw8H991FCAOuyEf7ZLSTs=";
|
vendorSha256 = "sha256-gz4JELCffuh7dyFdBex8/SFZ1/PDXuC/93m3WNHwRss=";
|
||||||
|
|
||||||
subPackages = [ "protoc-gen-twirp_php" ];
|
subPackages = [ "protoc-gen-twirp_php" ];
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
go generate ./...
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "PHP port of Twitch's Twirp RPC framework";
|
description = "PHP port of Twitch's Twirp RPC framework";
|
||||||
homepage = "https://github.com/twirphp/twirp";
|
homepage = "https://github.com/twirphp/twirp";
|
||||||
|
Loading…
Reference in New Issue
Block a user