about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/blockchains/aperture/default.nix
blob: c453d48c567acb7b45c7fb3515c3aa13e92e04d9 (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
27
28
{ buildGoModule
, fetchFromGitHub
, lib
}:

buildGoModule rec {
  pname = "aperture";
  version = "0.2-beta";

  src = fetchFromGitHub {
    owner = "lightninglabs";
    repo = "aperture";
    rev = "v${version}";
    hash = "sha256-l1fpjCAg+1PGNotKrjFLoYOMEzRNXC1mfdjRPfE0DsY=";
  };

  vendorHash = "sha256-tWFFmRSDUZXijAUTgR8k4EERHwIEBOyZZZ9BGXso/tU=";

  subPackages = [ "cmd/aperture" ];

  meta = with lib; {
    description = "L402 (Lightning HTTP 402) Reverse Proxy";
    homepage = "https://github.com/lightninglabs/aperture";
    license = licenses.mit;
    maintainers = with maintainers; [ sputn1ck ];
    mainProgram = "aperture";
  };
}