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