2021-03-22 20:11:08 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lndmanage";
|
2024-03-24 19:55:29 +01:00
|
|
|
version = "0.16.0";
|
2021-03-22 20:11:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitromortac";
|
|
|
|
repo = pname;
|
2022-07-16 07:58:16 +02:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-03-24 19:55:29 +01:00
|
|
|
hash = "sha256-VUeGnk/DtNAyEYFESV6kXIRbKqUv4IcMnU3fo0NB4uQ=";
|
2021-03-22 20:11:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
cycler
|
|
|
|
decorator
|
|
|
|
googleapis-common-protos
|
|
|
|
grpcio
|
|
|
|
grpcio-tools
|
|
|
|
kiwisolver
|
|
|
|
networkx
|
|
|
|
numpy
|
|
|
|
protobuf
|
|
|
|
pyparsing
|
|
|
|
python-dateutil
|
|
|
|
six
|
|
|
|
pygments
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace setup.py --replace '==' '>='
|
|
|
|
'';
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Channel management tool for lightning network daemon (LND) operators";
|
|
|
|
homepage = "https://github.com/bitromortac/lndmanage";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmilata ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "lndmanage";
|
2021-03-22 20:11:08 +01:00
|
|
|
};
|
|
|
|
}
|