1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, pytest-doctestplus
6, pytest-remotedata
7, pytest-openfiles
8, pytest-arraydiff
9}:
10
11buildPythonPackage rec {
12 pname = "pytest-astropy";
13 version = "0.5.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "6f28fb81dcdfa745f423b8f6d0303d97357d775b4128bcc2b3668f1602fd5a0b";
18 };
19
20 propagatedBuildInputs = [
21 pytest
22 pytest-doctestplus
23 pytest-remotedata
24 pytest-openfiles
25 pytest-arraydiff
26 ];
27
28 # pytest-astropy is a meta package and has no tests
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Meta-package containing dependencies for testing";
33 homepage = https://astropy.org;
34 license = licenses.bsd3;
35 maintainers = [ maintainers.costrouc ];
36 };
37}