nix-bitcoin/pkgs/python-packages/pyln-proto/default.nix

31 lines
483 B
Nix
Raw Permalink Normal View History

{ buildPythonPackage
, clightning
, poetry-core
, pytestCheckHook
2020-11-12 09:07:39 -08:00
, bitstring
, cryptography
, coincurve
, base58
}:
buildPythonPackage rec {
pname = "pyln-proto";
version = clightning.version;
format = "pyproject";
2020-11-12 09:07:39 -08:00
inherit (clightning) src;
nativeBuildInputs = [ poetry-core ];
2020-11-12 09:07:39 -08:00
propagatedBuildInputs = [
bitstring
cryptography
coincurve
base58
];
checkInputs = [ pytestCheckHook ];
2020-11-12 09:07:39 -08:00
postUnpack = "sourceRoot=$sourceRoot/contrib/pyln-proto";
2020-11-12 09:07:39 -08:00
}