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

41 lines
690 B
Nix
Raw Normal View History

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