python312Packages.mkdocs: fix cross build (#398862)
This commit is contained in:
@@ -48,7 +48,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-JQSOgV12iYE6FubxdoJpWy9EHKFxyKoxrm/7arCn9Ak=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
build-system = [
|
||||
hatchling
|
||||
# babel, setuptools required as "build hooks"
|
||||
babel
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
@@ -67,7 +71,7 @@ buildPythonPackage rec {
|
||||
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
|
||||
|
||||
optional-dependencies = {
|
||||
i18n = [ babel ] ++ lib.optionals (pythonAtLeast "3.12") [ setuptools ];
|
||||
i18n = [ babel ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user