about summary refs log tree commit diff
path: root/pkgs/servers/resgate/default.nix
blob: 92b55c7c03dac2142e63d7166b0eedaa1634fe66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "resgate";
  version = "1.7.5";

  src = fetchFromGitHub {
    owner = "resgateio";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-CAK2BjHa/l4cAWUKL0hGjqKi/Cdg+/K/MlnDreB69YE=";
  };

  vendorHash = "sha256-6uLCZvvQ8lRug6TlavQ1t73RqJlLCRxTwUhMp3OMMB0=";

  meta = with lib; {
    description = "A 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 ];
    mainProgram = "resgate";
  };
}