python312Packages.mkdocs: fix build

This commit is contained in:
Martin Weinelt 2023-12-11 15:46:36 +01:00
parent 1dd797eab8
commit 8fdc715b1b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -3,6 +3,7 @@
lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pythonOlder
# buildtime
@ -25,6 +26,7 @@
# optional-dependencies
, babel
, setuptools
# testing deps
, mock
@ -69,6 +71,8 @@ buildPythonPackage rec {
passthru.optional-dependencies = {
i18n = [
babel
] ++ lib.optionals (pythonAtLeast "3.12") [
setuptools
];
};