python3Packages.pytest-astropy: add missing deps, fix build

This commit is contained in:
Jonathan Ringer 2020-06-20 14:58:28 -07:00 committed by Jon
parent 19b96a1969
commit ba332b6f8f

View file

@ -1,11 +1,15 @@
{ lib
, buildPythonPackage
, fetchPypi
, hypothesis
, pytest
, pytest-astropy-header
, pytest-doctestplus
, pytest-filter-subpackage
, pytest-remotedata
, pytest-openfiles
, pytest-arraydiff
, setuptools_scm
}:
buildPythonPackage rec {
@ -17,16 +21,23 @@ buildPythonPackage rec {
sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
};
nativeBuildInputs = [
setuptools_scm
];
propagatedBuildInputs = [
hypothesis
pytest
pytest-astropy-header
pytest-doctestplus
pytest-filter-subpackage
pytest-remotedata
pytest-openfiles
pytest-arraydiff
];
# pytest-astropy is a meta package and has no tests
doCheck = false;
checkPhase = ":";
meta = with lib; {
description = "Meta-package containing dependencies for testing";