depot/third_party/nixpkgs/pkgs/development/python-modules/drms/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

40 lines
656 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
, pytest
, python
}:
buildPythonPackage rec {
pname = "drms";
version = "0.5.7";
src = fetchPypi {
inherit pname version;
sha256 = "ab3ec6d072b1980f77dadf3b2cb0fe56c648eaf927ea381f606b4db66d4cbff2";
};
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 ];
};
}