python3Packages.pyln-proto: update to nixos 24.05

- coincurve has been bumped to v20 on pyln-proto master without further
  code changes, so using v19 is fine

- the breaking changes in cryptography 42 don't affect pyln-proto
  https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
This commit is contained in:
Erik Arvstedt 2024-07-15 20:31:29 +02:00
parent 5d463b1677
commit 7f8563afec
No known key found for this signature in database
GPG key ID: 33312B944DD97846

View file

@ -29,4 +29,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
postUnpack = "sourceRoot=$sourceRoot/contrib/pyln-proto";
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'coincurve = "^18"' 'coincurve = "^19"' \
--replace-fail 'cryptography = "^41"' 'cryptography = "^42"' \
'';
}