pypass: migrate to pythonRelaxDepsHook

This commit is contained in:
Peder Bergebakken Sundt
2025-02-21 17:42:27 +01:00
parent d5fdf0d7ac
commit 9869d487b2
@@ -42,9 +42,9 @@ buildPythonPackage rec {
];
# Remove enum34 requirement if Python >= 3.4
postPatch = lib.optionalString (pythonAtLeast "3.4") ''
substituteInPlace requirements.txt --replace "enum34" ""
'';
pythonRemoveDeps = lib.optionals (pythonAtLeast "3.4") [
"enum34"
];
build-system = [ setuptools ];