python311Packages.pypiserver: add missing deps, unbreak

This commit is contained in:
Peder Bergebakken Sundt
2024-11-08 13:52:53 +01:00
parent 73794b4d2d
commit 4036a4042f

View File

@@ -13,6 +13,8 @@
watchdog,
webtest,
wheel,
build,
importlib-resources,
}:
buildPythonPackage rec {
@@ -38,7 +40,7 @@ buildPythonPackage rec {
dependencies = [
distutils
pip
];
] ++ lib.optionals (pythonOlder "3.12") [ importlib-resources ];
optional-dependencies = {
passlib = [ passlib ];
@@ -51,6 +53,7 @@ buildPythonPackage rec {
setuptools
twine
webtest
build
] ++ lib.flatten (builtins.attrValues optional-dependencies);
__darwinAllowLocalNetworking = true;