2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
numpy,
|
|
|
|
pandas,
|
|
|
|
six,
|
|
|
|
astropy,
|
|
|
|
oldest-supported-numpy,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-doctestplus,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools-scm,
|
|
|
|
wheel,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "drms";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.7.1";
|
2021-01-05 17:05:55 +00:00
|
|
|
format = "pyproject";
|
2021-07-04 02:40:35 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-2VtAGRx0OnYdATK/ngNhffmQDjZfELYeTTPCdfkHAAc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
nativeBuildInputs = [
|
2023-10-09 19:29:22 +00:00
|
|
|
numpy
|
|
|
|
oldest-supported-numpy
|
2022-02-10 20:34:41 +00:00
|
|
|
setuptools-scm
|
2023-10-09 19:29:22 +00:00
|
|
|
wheel
|
2022-02-10 20:34:41 +00:00
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
astropy
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-doctestplus
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
disabledTests = [ "test_query_hexadecimal_strings" ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
disabledTestPaths = [ "docs/tutorial.rst" ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
pythonImportsCheck = [ "drms" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Access HMI, AIA and MDI data with Python";
|
|
|
|
homepage = "https://github.com/sunpy/drms";
|
2021-07-04 02:40:35 +00:00
|
|
|
license = licenses.bsd2;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|