Merge pull request #239307 from r-ryantm/auto-update/python310Packages.spectral-cube
python310Packages.spectral-cube: 0.6.0 -> 0.6.2
This commit is contained in:
@@ -1,28 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, aplpy
|
||||
, joblib
|
||||
, astropy
|
||||
, casa-formats-io
|
||||
, radio_beam
|
||||
, six
|
||||
, dask
|
||||
, pytestCheckHook
|
||||
, pytest-astropy
|
||||
, astropy-helpers
|
||||
, buildPythonPackage
|
||||
, casa-formats-io
|
||||
, dask
|
||||
, fetchPypi
|
||||
, joblib
|
||||
, pytest-astropy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, radio_beam
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spectral-cube";
|
||||
version = "0.6.0";
|
||||
version = "0.6.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c0pp82wgl680w2vcwlrrz46sy83z1qs74w5bd691wg0512hv2jx";
|
||||
hash = "sha256-0Fr9PvUShi04z8SUsZE7zHuXZWg4rxt6gwSBb6lr2Pc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
@@ -31,8 +33,19 @@ buildPythonPackage rec {
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ astropy casa-formats-io radio_beam joblib six dask ];
|
||||
nativeCheckInputs = [ pytestCheckHook aplpy pytest-astropy ];
|
||||
propagatedBuildInputs = [
|
||||
astropy
|
||||
casa-formats-io
|
||||
radio_beam
|
||||
joblib
|
||||
dask
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aplpy
|
||||
pytest-astropy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# On x86_darwin, this test fails with "Fatal Python error: Aborted"
|
||||
# when sandbox = true.
|
||||
@@ -40,12 +53,15 @@ buildPythonPackage rec {
|
||||
"spectral_cube/tests/test_visualization.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
pythonImportsCheck = [
|
||||
"spectral_cube"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for reading and analyzing astrophysical spectral data cubes";
|
||||
homepage = "http://radio-astro-tools.github.io";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ smaret ];
|
||||
broken = true;
|
||||
homepage = "https://spectral-cube.readthedocs.io";
|
||||
changelog = "https://github.com/radio-astro-tools/spectral-cube/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ smaret ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user