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

41 lines
656 B
Nix
Raw Normal View History

2019-07-15 10:07:47 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
, pytest
, python
}:
buildPythonPackage rec {
pname = "drms";
2020-11-29 06:04:27 -08:00
version = "0.6.0";
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 = [
pytest
];
checkPhase = ''
${python.interpreter} -m drms.tests
'';
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 ];
};
}