1{ lib
2, buildPythonPackage
3, fetchPypi
4, hypothesis
5, pytest
6, pytest-astropy-header
7, pytest-doctestplus
8, pytest-filter-subpackage
9, pytest-remotedata
10, pytest-openfiles
11, pytest-arraydiff
12, setuptools_scm
13}:
14
15buildPythonPackage rec {
16 pname = "pytest-astropy";
17 version = "0.8.0";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
22 };
23
24 nativeBuildInputs = [
25 setuptools_scm
26 ];
27
28 buildInputs = [ pytest ];
29
30 propagatedBuildInputs = [
31 hypothesis
32 pytest-astropy-header
33 pytest-doctestplus
34 pytest-filter-subpackage
35 pytest-remotedata
36 pytest-openfiles
37 pytest-arraydiff
38 ];
39
40 # pytest-astropy is a meta package and has no tests
41 checkPhase = ":";
42
43 meta = with lib; {
44 description = "Meta-package containing dependencies for testing";
45 homepage = "https://astropy.org";
46 license = licenses.bsd3;
47 maintainers = [ maintainers.costrouc ];
48 };
49}