sphinx-sitemap: apply feedback

This commit is contained in:
Alejandro Sanchez Medina 2023-10-11 10:00:14 +01:00
parent e7b910afd7
commit ddd0645439

View File

@ -2,8 +2,7 @@
, buildPythonPackage
, fetchPypi
, sphinx
, pytest
,
, pytestCheckHook
}:
let
pname = "sphinx-sitemap";
@ -11,6 +10,7 @@ let
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -22,13 +22,14 @@ buildPythonPackage {
];
nativeCheckInputs = [
pytest
pytestCheckHook
];
pytestFlagsArray = [
"--fixtures tests"
];
doCheck = true;
checkPhase = ''
pytest --fixtures tests
'';
meta = with lib; {
changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}";