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

21 lines
429 B
Nix
Raw Normal View History

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