nix-bitcoin/pkgs/python-packages/pyln-client/default.nix
2021-11-10 21:26:11 +01:00

15 lines
367 B
Nix

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