python3Packages.sphinx{ext-opengraph,-redirects} : switch to pyproject & flit-core to fix build (#436106)

This commit is contained in:
Martin Weinelt
2025-08-23 13:36:33 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
flit-core,
sphinx,
}:
@@ -18,7 +18,7 @@ buildPythonPackage rec {
};
build-system = [
setuptools
flit-core
];
dependencies = [
@@ -7,13 +7,13 @@
pytestCheckHook,
pythonOlder,
beautifulsoup4,
setuptools-scm,
flit-core,
}:
buildPythonPackage rec {
pname = "sphinxext-opengraph";
version = "0.12.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
hash = "sha256-2ch9BxgrqbfIJ8fzFKYscha4+G7OAVz+OIOqYwX2gSA=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [ flit-core ];
optional-dependencies = {
social_cards_generation = [ matplotlib ];