pythonPackages.pytest-astropy: init at 0.5.0

This commit is contained in:
Chris Ostrouchov 2019-07-15 11:47:58 -04:00 committed by Frederik Rietdijk
parent 45ee5f6d28
commit 1832c1c52e
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytest-doctestplus
, pytest-remotedata
, pytest-openfiles
, pytest-arraydiff
}:
buildPythonPackage rec {
pname = "pytest-astropy";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "6f28fb81dcdfa745f423b8f6d0303d97357d775b4128bcc2b3668f1602fd5a0b";
};
propagatedBuildInputs = [
pytest
pytest-doctestplus
pytest-remotedata
pytest-openfiles
pytest-arraydiff
];
# pytest-astropy is a meta package and has no tests
doCheck = false;
meta = with lib; {
description = "Meta-package containing dependencies for testing";
homepage = https://astropy.org;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1897,6 +1897,8 @@ in {
pytest-arraydiff = callPackage ../development/python-modules/pytest-arraydiff { };
pytest-astropy = callPackage ../development/python-modules/pytest-astropy { };
pytest-benchmark = callPackage ../development/python-modules/pytest-benchmark { };
pytestcache = callPackage ../development/python-modules/pytestcache { };