5 , astropy-extension-helpers
32 buildPythonPackage rec {
35 format = "setuptools";
37 disabled = pythonOlder "3.8";
40 inherit pname version;
41 hash = "sha256-7tmyywyfQw1T9qr5UbPH/KR+AmmhSaHunkeUGRKDl+Q=";
45 astropy-extension-helpers
49 propagatedBuildInputs = [
56 passthru.optional-dependencies = {
93 ] ++ passthru.optional-dependencies.asdf
94 ++ passthru.optional-dependencies.database
95 ++ passthru.optional-dependencies.image
96 ++ passthru.optional-dependencies.net
97 ++ passthru.optional-dependencies.timeseries;
100 substituteInPlace setup.cfg \
101 --replace " --dist no" ""
104 # darwin has write permission issues
105 doCheck = stdenv.isLinux;
108 export HOME=$(mktemp -d)
113 "test_sunpy_warnings_logging"
114 "test_main_nonexisting_module"
115 "test_main_stdlib_module"
116 "test_find_dependencies"
119 disabledTestPaths = [
120 # Tests are very slow
121 "sunpy/net/tests/test_fido.py"
122 # asdf.extensions plugin issue
123 "sunpy/io/special/asdf/resources/schemas/"
124 "sunpy/io/special/asdf/resources/manifests/sunpy-1.0.0.yaml"
125 # Requires mpl-animators package
126 "sunpy/map/tests/test_compositemap.py"
127 "sunpy/map/tests/test_mapbase.py"
128 "sunpy/map/tests/test_mapsequence.py"
129 "sunpy/map/tests/test_plotting.py"
130 "sunpy/map/tests/test_reproject_to.py"
131 "sunpy/net/tests/test_helioviewer.py"
132 "sunpy/timeseries/tests/test_timeseriesbase.py"
133 "sunpy/visualization/animator/tests/test_basefuncanimator.py"
134 "sunpy/visualization/animator/tests/test_mapsequenceanimator.py"
135 "sunpy/visualization/animator/tests/test_wcs.py"
136 "sunpy/visualization/colormaps/tests/test_cm.py"
137 # Requires cdflib package
138 "sunpy/timeseries/tests/test_timeseries_factory.py"
140 "sunpy/image/tests/test_transform.py"
141 "sunpy/io/special/asdf/tests/test_coordinate_frames.py"
142 "sunpy/io/special/asdf/tests/test_genericmap.py"
143 # distutils is deprecated
144 "sunpy/io/setup_package.py"
149 "ignore::DeprecationWarning"
152 # Wants a configuration file
153 # pythonImportsCheck = [
158 description = "Python for Solar Physics";
159 homepage = "https://sunpy.org";
160 license = licenses.bsd2;
161 maintainers = with maintainers; [ ];