python3Packages.pytest-astropy: add missing deps, fix build
This commit is contained in:
parent
19b96a1969
commit
ba332b6f8f
1 changed files with 12 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue