nixpkgs/pkgs/development/python-modules/drms/default.nix

41 lines
690 B
Nix
Raw Normal View History

2019-07-15 18:07:47 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
2020-12-28 18:23:44 +00:00
, astropy
, pytestCheckHook
, pytest-doctestplus
2019-07-15 18:07:47 +01:00
}:
buildPythonPackage rec {
pname = "drms";
2020-11-29 14:04:27 +00:00
version = "0.6.0";
2020-12-28 18:23:44 +00:00
format = "pyproject";
2019-07-15 18:07:47 +01:00
src = fetchPypi {
inherit pname version;
2020-11-29 14:04:27 +00:00
sha256 = "74efb903f42647ea536de0c5aea4f9a81efe027c95055ec4e72ef62479a04c89";
2019-07-15 18:07:47 +01:00
};
propagatedBuildInputs = [
numpy
pandas
six
];
checkInputs = [
2020-12-28 18:23:44 +00:00
astropy
pytestCheckHook
pytest-doctestplus
2019-07-15 18:07:47 +01:00
];
meta = with lib; {
description = "Access HMI, AIA and MDI data with Python";
homepage = "https://github.com/sunpy/drms";
2019-07-15 18:07:47 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}