18 buildPythonPackage rec {
19 pname = "spectral-cube";
24 inherit pname version;
25 sha256 = "1c0pp82wgl680w2vcwlrrz46sy83z1qs74w5bd691wg0512hv2jx";
28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
34 propagatedBuildInputs = [ astropy casa-formats-io radio_beam joblib six dask ];
35 checkInputs = [ pytestCheckHook aplpy pytest-astropy ];
37 # On x86_darwin, this test fails with "Fatal Python error: Aborted"
38 # when sandbox = true.
39 disabledTestPaths = lib.optionals stdenv.isDarwin [
40 "spectral_cube/tests/test_visualization.py"
44 description = "Library for reading and analyzing astrophysical spectral data cubes";
45 homepage = "http://radio-astro-tools.github.io";
46 license = lib.licenses.bsd3;
47 platforms = lib.platforms.all;
48 maintainers = with lib.maintainers; [ smaret ];