1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, six
6, pytest
7, pytestCheckHook
8, numpy
9, setuptools_scm
10}:
11
12buildPythonPackage rec {
13 pname = "pytest-doctestplus";
14 version = "0.9.0";
15 disabled = isPy27; # abandoned upstream
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a";
20 };
21
22 nativeBuildInputs = [
23 setuptools_scm
24 ];
25 buildInputs = [
26 pytest
27 ];
28
29 propagatedBuildInputs = [
30 six
31 numpy
32 ];
33
34 checkInputs = [
35 pytestCheckHook
36 ];
37
38 meta = with lib; {
39 description = "Pytest plugin with advanced doctest features";
40 homepage = "https://astropy.org";
41 license = licenses.bsd3;
42 maintainers = [ maintainers.costrouc ];
43 };
44}