1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, pytest
6, numpy
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-doctestplus";
11 version = "0.3.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "4e641bc720661c08ec3afe44a7951660cdff5e187259c433aa66e9ec2d5ccea1";
16 };
17
18 propagatedBuildInputs = [
19 six
20 numpy
21 pytest
22 ];
23
24 checkInputs = [
25 pytest
26 ];
27
28 checkPhase = ''
29 pytest
30 '';
31
32 meta = with lib; {
33 description = "Pytest plugin with advanced doctest features";
34 homepage = https://astropy.org;
35 license = licenses.bsd3;
36 maintainers = [ maintainers.costrouc ];
37 };
38}