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

15 lines
367 B
Nix
Raw Normal View History

{ buildPythonPackage, clightning, pyln-bolt7, recommonmark, setuptools-scm }:
2020-11-12 09:07:39 -08:00
buildPythonPackage rec {
pname = "pyln-client";
version = clightning.version;
2020-11-12 09:07:39 -08:00
inherit (clightning) src;
propagatedBuildInputs = [ pyln-bolt7 recommonmark setuptools-scm ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
2020-11-12 09:07:39 -08:00
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
}