2021-03-22 19:11:08 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lndmanage";
|
2021-07-27 10:11:40 +01:00
|
|
|
version = "0.12.0";
|
2021-03-22 19:11:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitromortac";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-07-27 10:11:40 +01:00
|
|
|
sha256 = "1p73wdxv3fca2ga4nqpjk5lig7bj2v230lh8niw490p5y7hhnggl";
|
2021-03-22 19:11:08 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|