depot/third_party/nixpkgs/pkgs/applications/blockchains/aperture/default.nix

29 lines
746 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "aperture";
version = "0.3-beta";
src = fetchFromGitHub {
owner = "lightninglabs";
repo = "aperture";
rev = "v${version}";
hash = "sha256-PsmaNJxWkXiFDA7IGhT+Kx1GUvv23c8L8Jz21/b48oo=";
};
vendorHash = "sha256-rrDLdE7c6ykhdqOfRpuxyRO4xqYp3LZvovAppzy1wVw=";
subPackages = [ "cmd/aperture" ];
meta = with lib; {
description = "L402 (Lightning HTTP 402) Reverse Proxy";
homepage = "https://github.com/lightninglabs/aperture";
changelog = "https://github.com/lightninglabs/aperture/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ sputn1ck HannahMR ];
mainProgram = "aperture";
};
}