{ buildGoModule, fetchFromGitHub, lib, testers, faraday, }: buildGoModule rec { pname = "faraday"; version = "0.2.14-alpha"; src = fetchFromGitHub { owner = "lightninglabs"; repo = "faraday"; rev = "v${version}"; hash = "sha256-7sCNHrtDDpxpcxmHTVq8reHjNMXKyxPbYM6H6Eqo+OY="; }; vendorHash = "sha256-xlyZEcFphXAV+7iHmJBZiQWKKBDm1cpE2Eax2fWYd0Y="; subPackages = [ "cmd/frcli" "cmd/faraday" ]; ldflags = [ "-s" "-w" ]; passthru.tests.version = testers.testVersion { package = faraday; }; meta = with lib; { description = "LND Channel Management Tools"; homepage = "https://github.com/lightninglabs/faraday"; license = licenses.mit; maintainers = with maintainers; [ proofofkeags ]; }; }