2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, six
|
2021-01-05 17:05:55 +00:00
|
|
|
, astropy
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-doctestplus
|
2021-07-04 02:40:35 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "drms";
|
2021-07-04 02:40:35 +00:00
|
|
|
version = "0.6.2";
|
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;
|
2021-07-04 02:40:35 +00:00
|
|
|
sha256 = "sha256-Id8rPK8qq71gHn5DKnEi7Lp081GFbcFtGU+v89Vlt9o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
astropy
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-doctestplus
|
2020-04-24 23:36:52 +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;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|