linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-astropy / default.nix
blob5d5a0de447d28311e0b7fdab4b8f2ab8a3c1914e
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
15 buildPythonPackage rec {
16   pname = "pytest-astropy";
17   version = "0.8.0";
19   src = fetchPypi {
20     inherit pname version;
21     sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
22   };
24   nativeBuildInputs = [
25     setuptools_scm
26   ];
28   buildInputs = [ pytest ];
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   ];
40   # pytest-astropy is a meta package and has no tests
41   checkPhase = ":";
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   };