depot/third_party/nixpkgs/pkgs/development/python-modules/drms/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

57 lines
953 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, six
, astropy
, pytestCheckHook
, pytest-doctestplus
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "drms";
version = "0.6.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-fH290QRhhglkhkMrpwHUkqVuYvZ6w/MDIYo9V0queVY=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
numpy
pandas
six
];
nativeCheckInputs = [
astropy
pytestCheckHook
pytest-doctestplus
];
disabledTests = [
"test_query_hexadecimal_strings"
];
disabledTestPaths = [
"docs/tutorial.rst"
];
pythonImportsCheck = [ "drms" ];
meta = with lib; {
description = "Access HMI, AIA and MDI data with Python";
homepage = "https://github.com/sunpy/drms";
license = licenses.bsd2;
maintainers = with maintainers; [ costrouc ];
};
}