2019-07-15 17:07:47 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, six
|
2020-12-28 18:23:44 +00:00
|
|
|
, astropy
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-doctestplus
|
2021-07-02 21:08:41 +00:00
|
|
|
, pythonOlder
|
2022-02-08 18:13:29 +00:00
|
|
|
, setuptools-scm
|
2019-07-15 17:07:47 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "drms";
|
2022-12-30 19:13:07 +00:00
|
|
|
version = "0.6.3";
|
2020-12-28 18:23:44 +00:00
|
|
|
format = "pyproject";
|
2021-07-02 21:08:41 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2019-07-15 17:07:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-crPVo7ALErZWvNcsaJ/BuBa0VkfCsZ+C929x4kEZHKw=";
|
2019-07-15 17:07:47 +00:00
|
|
|
};
|
|
|
|
|
2022-02-08 18:13:29 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2019-07-15 17:07:47 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2020-12-28 18:23:44 +00:00
|
|
|
astropy
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-doctestplus
|
2019-07-15 17:07:47 +00:00
|
|
|
];
|
|
|
|
|
2022-12-30 19:13:07 +00:00
|
|
|
disabledTests = [
|
|
|
|
"test_query_hexadecimal_strings"
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
"docs/tutorial.rst"
|
|
|
|
];
|
|
|
|
|
2021-07-02 21:08:41 +00:00
|
|
|
pythonImportsCheck = [ "drms" ];
|
|
|
|
|
2019-07-15 17:07:47 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Access HMI, AIA and MDI data with Python";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sunpy/drms";
|
2021-07-02 21:08:41 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2019-07-15 17:07:47 +00:00
|
|
|
};
|
|
|
|
}
|