aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/drms/default.nix
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
, pytest
, python
}:

buildPythonPackage rec {
  pname = "drms";
  version = "0.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "74efb903f42647ea536de0c5aea4f9a81efe027c95055ec4e72ef62479a04c89";
  };

  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 ];
  };
}