python312Packages.mkdocs: fix build
This commit is contained in:
parent
1dd797eab8
commit
8fdc715b1b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue