3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/drms/default.nix

41 lines
654 B
Nix
Raw Normal View History

2019-07-15 18:07:47 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
, pytest
, python
}:
buildPythonPackage rec {
pname = "drms";
version = "0.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "95cac0e14532893a44eeab8e329ddb76150e6848153d8cb1e4e08ba55569e6af";
};
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;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}