blob: b94d899ac83741d068aec5d1e145622cbb0bfa3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytest,
sphinx,
defusedxml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sphinx-pytest";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = "sphinx-pytest";
tag = "v${version}";
hash = "sha256-oSBBt+hSMs4mvGqibQHoYHXr2j/bpsGOnIMfwfTfWKQ=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ sphinx ];
buildInputs = [ pytest ];
pythonImportsCheck = [ "sphinx_pytest" ];
nativeCheckInputs = [
defusedxml
pytestCheckHook
];
meta = {
changelog = "https://github.com/sphinx-extensions2/sphinx-pytest/releases/tag/v${version}";
description = "Helpful pytest fixtures for Sphinx extensions";
homepage = "https://github.com/chrisjsewell/sphinx-pytest";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ loicreynier ];
};
}
|