2023-01-16 09:52:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "resgate";
|
2024-07-04 03:06:39 +00:00
|
|
|
version = "1.8.0";
|
2023-01-16 09:52:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "resgateio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-04 03:06:39 +00:00
|
|
|
hash = "sha256-HQgBWH6dqfmAfKMezUjPbwXif8bqAClns589la2lBVA=";
|
2023-01-16 09:52:03 +00:00
|
|
|
};
|
|
|
|
|
2024-07-04 03:06:39 +00:00
|
|
|
vendorHash = "sha256-1yQScWjlqYvFmuqG4TLmImlCjFPrLcYcmZ1a3QUnSXY=";
|
2023-01-16 09:52:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Realtime API Gateway used with NATS to build REST, real time, and RPC APIs";
|
|
|
|
homepage = "https://resgate.io";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ farcaller ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "resgate";
|
2023-01-16 09:52:03 +00:00
|
|
|
};
|
|
|
|
}
|