python313Packages.monero: migrate to pythonRelaxDepsHook

This commit is contained in:
Peder Bergebakken Sundt
2025-02-24 10:47:15 +01:00
parent d03134dc6f
commit 4a59a4053a
@@ -25,11 +25,8 @@ buildPythonPackage rec {
hash = "sha256-WIF3pFBOLgozYTrQHLzIRgSlT3dTZTe+7sF/dVjVdTo=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace 'pynacl~=1.4' 'pynacl>=1.4' \
--replace 'ipaddress' ""
'';
pythonRelaxDeps = [ "pynacl" ];
pythonRemoveDeps = [ "ipaddress" ];
pythonImportsCheck = [ "monero" ];