clightning-sane: fix build

This commit is contained in:
Colin 2024-04-19 04:52:34 +00:00
parent 135f63480b
commit e197f6f54d
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ buildPythonPackage {
sourceRoot = "clightning-v${clightning.version}/contrib/pyln-proto";
# package pins its dependencies too aggressively
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'coincurve = "^18"' 'coincurve = ">=18"' \
--replace-fail 'cryptography = "^41"' 'cryptography = ">=41"'
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [