mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
charge-lnd: init at 0.1.2
This commit is contained in:
parent
34595fbd39
commit
43031a05d2
39
pkgs/applications/blockchains/charge-lnd/default.nix
Normal file
39
pkgs/applications/blockchains/charge-lnd/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "charge-lnd";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "accumulator";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1m1ic69aj2vlnjlp4ckan8n67r01nfysvq4w6nny32wjkr0zvphr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
aiorpcx
|
||||
colorama
|
||||
googleapis-common-protos
|
||||
grpcio
|
||||
protobuf
|
||||
six
|
||||
termcolor
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install README.md charge.config.example -Dt $out/share/doc/charge-lnd
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/charge-lnd --help > /dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple policy-based fee manager for lightning network daemon";
|
||||
homepage = "https://github.com/accumulator/charge-lnd";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ mmilata ];
|
||||
};
|
||||
}
|
@ -27831,6 +27831,8 @@ in
|
||||
|
||||
btcpayserver = callPackage ../applications/blockchains/btcpayserver { };
|
||||
|
||||
charge-lnd = callPackage ../applications/blockchains/charge-lnd { };
|
||||
|
||||
cryptop = python3.pkgs.callPackage ../applications/blockchains/cryptop { };
|
||||
|
||||
dashpay = callPackage ../applications/blockchains/dashpay.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user