2023-08-04 22:07:22 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aperture";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.3-beta";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lightninglabs";
|
|
|
|
repo = "aperture";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-PsmaNJxWkXiFDA7IGhT+Kx1GUvv23c8L8Jz21/b48oo=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-rrDLdE7c6ykhdqOfRpuxyRO4xqYp3LZvovAppzy1wVw=";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/aperture" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "L402 (Lightning HTTP 402) Reverse Proxy";
|
|
|
|
homepage = "https://github.com/lightninglabs/aperture";
|
2024-10-04 16:56:33 +00:00
|
|
|
changelog = "https://github.com/lightninglabs/aperture/releases/tag/v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = licenses.mit;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [ sputn1ck HannahMR ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "aperture";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
}
|