python311Packages.pypiserver: add missing deps, unbreak
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user