mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 22:44:56 +00:00
sphinx-sitemap: apply feedback
This commit is contained in:
parent
e7b910afd7
commit
ddd0645439
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user