1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, flit-core 5, pytest 6, sphinx 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "sphinx-pytest"; 12 version = "0.0.3"; 13 14 src = fetchFromGitHub { 15 owner = "chrisjsewell"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-vRHPq6BAuhn5QvHG2BGen9v6ezA3RgFVtustsNxU+n8="; 19 }; 20 21 format = "flit"; 22 23 nativeBuildInputs = [ flit-core ]; 24 25 propagatedBuildInputs = [ 26 sphinx 27 ]; 28 29 buildInputs = [ 30 pytest 31 ]; 32 33 pythonImportsCheck = [ "sphinx_pytest" ]; 34 35 checkInputs = [ 36 pytestCheckHook 37 ]; 38 39 meta = with lib; { 40 description = "Helpful pytest fixtures for Sphinx extensions"; 41 homepage = "https://github.com/chrisjsewell/sphinx-pytest"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ loicreynier ]; 44 }; 45}