nix-bitcoin/pkgs/python-packages/pylightning/default.nix

14 lines
321 B
Nix
Raw Normal View History

2020-11-12 09:07:39 -08:00
{ buildPythonPackage, clightning, pyln-client }:
buildPythonPackage rec {
pname = "pylightning";
version = "0.10.1"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
2020-11-12 09:07:39 -08:00
inherit (clightning) src;
propagatedBuildInputs = [ pyln-client ];
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
}