2022-05-05 20:43:10 +02:00
|
|
|
{ buildPythonPackage
|
|
|
|
, clightning
|
|
|
|
, poetry-core
|
|
|
|
, pytestCheckHook
|
2020-11-12 18:07:39 +01:00
|
|
|
, bitstring
|
|
|
|
, cryptography
|
|
|
|
, coincurve
|
|
|
|
, base58
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyln-proto";
|
2021-11-10 21:25:11 +01:00
|
|
|
version = clightning.version;
|
2022-05-05 20:43:10 +02:00
|
|
|
format = "pyproject";
|
2020-11-12 18:07:39 +01:00
|
|
|
|
|
|
|
inherit (clightning) src;
|
|
|
|
|
2022-05-05 20:43:10 +02:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
|
2020-11-12 18:07:39 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
bitstring
|
|
|
|
cryptography
|
|
|
|
coincurve
|
|
|
|
base58
|
|
|
|
];
|
|
|
|
|
2022-05-05 20:43:10 +02:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-11-12 18:07:39 +01:00
|
|
|
|
2021-11-10 21:25:11 +01:00
|
|
|
postUnpack = "sourceRoot=$sourceRoot/contrib/pyln-proto";
|
2020-11-12 18:07:39 +01:00
|
|
|
}
|