1 { lib, fetchFromGitHub, python3Packages }:
3 python3Packages.buildPythonApplication rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/v${version}";
11 sha256 = "sha256-mNU8bhiZqvYbNUU8vJNk9WbpAVrCTi9Fy3hlIpb06ac=";
14 propagatedBuildInputs = with python3Packages; [
17 googleapis-common-protos
25 install README.md -Dt $out/share/doc/charge-lnd
28 doInstallCheck = true;
29 installCheckPhase = ''
30 $out/bin/charge-lnd --help > /dev/null
34 description = "Simple policy-based fee manager for lightning network daemon";
35 homepage = "https://github.com/accumulator/charge-lnd";
36 license = licenses.gpl2Plus;
37 maintainers = with maintainers; [ mmilata mariaa144 ];
38 mainProgram = "charge-lnd";