altdns: migrate to pythonRelaxDepsHook

This commit is contained in:
Peder Bergebakken Sundt
2025-02-24 10:47:13 +01:00
parent 8fef72c519
commit ee53f78d67
+1 -6
View File
@@ -16,12 +16,7 @@ python3.pkgs.buildPythonApplication {
hash = "sha256-ElY6AZ7IBnOh7sRWNSQNmq7AYGlnjvYRn8/U+29BwWA=";
};
prePatch = ''
substituteInPlace requirements.txt \
--replace-fail "argparse" ""
substituteInPlace setup.py \
--replace-fail "argparse" ""
'';
pythonRemoveDeps = [ "argparse" ];
build-system = with python3.pkgs; [
setuptools