2021-03-22 20:11:08 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lndmanage";
|
2021-08-13 06:48:14 +02:00
|
|
|
version = "0.13.0";
|
2021-03-22 20:11:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitromortac";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-13 06:48:14 +02:00
|
|
|
sha256 = "1vnv03k2d11rw6mry6fmspiy3hqsza8y3daxnn4lp038gw1y0f4z";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|