2022-05-05 11:43:10 -07:00
|
|
|
{ buildPythonPackage, poetry-core, pytestCheckHook, clightning, pyln-bolt7, pyln-proto }:
|
2020-11-12 09:07:39 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyln-client";
|
2021-11-10 12:25:11 -08:00
|
|
|
version = clightning.version;
|
2022-05-05 11:43:10 -07:00
|
|
|
format = "pyproject";
|
2020-11-12 09:07:39 -08:00
|
|
|
|
|
|
|
inherit (clightning) src;
|
|
|
|
|
2022-05-05 11:43:10 -07:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2021-11-10 12:25:11 -08:00
|
|
|
|
2022-05-05 11:43:10 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyln-bolt7
|
|
|
|
pyln-proto
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-11-12 09:07:39 -08:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
|
|
|
|
}
|