2021-03-22 19:11:08 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lndmanage";
|
2022-07-16 05:58:16 +00:00
|
|
|
version = "0.14.2";
|
2021-03-22 19:11:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitromortac";
|
|
|
|
repo = pname;
|
2022-07-16 05:58:16 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-G6KpF/c8FsXrqI0hB0fZlModQThnAOHrCv482UjRng0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|