pythonPackages.pytest-doctestplus: init at 0.3.0

This commit is contained in:
Chris Ostrouchov 2019-07-15 11:16:42 -04:00 committed by Frederik Rietdijk
parent eceb53f082
commit 5bf65feaaa
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest
, numpy
}:
buildPythonPackage rec {
pname = "pytest-doctestplus";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "4e641bc720661c08ec3afe44a7951660cdff5e187259c433aa66e9ec2d5ccea1";
};
propagatedBuildInputs = [
six
numpy
pytest
];
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Pytest plugin with advanced doctest features";
homepage = https://astropy.org;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1909,6 +1909,8 @@ in {
pytest-django = callPackage ../development/python-modules/pytest-django { };
pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { };
pytest-faulthandler = callPackage ../development/python-modules/pytest-faulthandler { };
pytest-fixture-config = callPackage ../development/python-modules/pytest-fixture-config { };