ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-astropy / default.nix
blob1e1f386eef44d72b3bdbd6ec2e6cd3c76c3de6bc
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , attrs
5 , hypothesis
6 , pytest
7 , pytest-arraydiff
8 , pytest-astropy-header
9 , pytest-cov
10 , pytest-doctestplus
11 , pytest-filter-subpackage
12 , pytest-mock
13 , pytest-openfiles
14 , pytest-remotedata
15 , setuptools-scm
16 , pythonOlder
19 buildPythonPackage rec {
20   pname = "pytest-astropy";
21   version = "0.10.0";
22   disabled = pythonOlder "3.7";
24   src = fetchPypi {
25     inherit pname version;
26     sha256 = "sha256-hePGbO7eTOZo9HOzzzd/yyqjxI4k8oqqN3roYATM4hE=";
27   };
29   nativeBuildInputs = [
30     setuptools-scm
31   ];
33   buildInputs = [
34     pytest
35   ];
37   propagatedBuildInputs = [
38     attrs
39     hypothesis
40     pytest-arraydiff
41     pytest-astropy-header
42     pytest-cov
43     pytest-doctestplus
44     pytest-filter-subpackage
45     pytest-mock
46     pytest-openfiles
47     pytest-remotedata
48   ];
50   # pytest-astropy is a meta package that only propagates requirements
51   doCheck = false;
53   meta = with lib; {
54     description = "Meta-package containing dependencies for testing";
55     homepage = "https://astropy.org";
56     license = licenses.bsd3;
57     maintainers = with maintainers; [ costrouc ];
58   };