pythonPackages.sphinx-pytest: init at 0.0.3

This commit is contained in:
Loïc Reynier 2022-06-09 15:00:14 +02:00
parent 6206c6618b
commit eafcfbf6e5
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytest
, sphinx
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sphinx-pytest";
version = "0.0.3";
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vRHPq6BAuhn5QvHG2BGen9v6ezA3RgFVtustsNxU+n8=";
};
format = "flit";
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
sphinx
];
buildInputs = [
pytest
];
pythonImportsCheck = [ "sphinx_pytest" ];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Helpful pytest fixtures for Sphinx extensions";
homepage = "https://github.com/chrisjsewell/sphinx-pytest";
license = licenses.mit;
maintainers = with maintainers; [ loicreynier ];
};
}

View file

@ -9893,6 +9893,8 @@ in {
sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { };
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
sphinxcontrib-actdiag = callPackage ../development/python-modules/sphinxcontrib-actdiag { };
sphinxcontrib-apidoc = callPackage ../development/python-modules/sphinxcontrib-apidoc { };