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

14 lines
320 B
Nix

{ buildPythonPackage, clightning, pyln-client }:
buildPythonPackage rec {
pname = "pylightning";
version = "0.9.3"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
inherit (clightning) src;
propagatedBuildInputs = [ pyln-client ];
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
}