python3Packages.pytest-astropy: add missing deps, fix build
This commit is contained in:
parent
19b96a1969
commit
ba332b6f8f
@ -1,11 +1,15 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, hypothesis
|
||||||
, pytest
|
, pytest
|
||||||
|
, pytest-astropy-header
|
||||||
, pytest-doctestplus
|
, pytest-doctestplus
|
||||||
|
, pytest-filter-subpackage
|
||||||
, pytest-remotedata
|
, pytest-remotedata
|
||||||
, pytest-openfiles
|
, pytest-openfiles
|
||||||
, pytest-arraydiff
|
, pytest-arraydiff
|
||||||
|
, setuptools_scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,16 +21,23 @@ buildPythonPackage rec {
|
|||||||
sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
|
sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools_scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
hypothesis
|
||||||
pytest
|
pytest
|
||||||
|
pytest-astropy-header
|
||||||
pytest-doctestplus
|
pytest-doctestplus
|
||||||
|
pytest-filter-subpackage
|
||||||
pytest-remotedata
|
pytest-remotedata
|
||||||
pytest-openfiles
|
pytest-openfiles
|
||||||
pytest-arraydiff
|
pytest-arraydiff
|
||||||
];
|
];
|
||||||
|
|
||||||
# pytest-astropy is a meta package and has no tests
|
# pytest-astropy is a meta package and has no tests
|
||||||
doCheck = false;
|
checkPhase = ":";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Meta-package containing dependencies for testing";
|
description = "Meta-package containing dependencies for testing";
|
||||||
|
Loading…
Reference in New Issue
Block a user