{ stdenv , lib , buildPythonPackage , fetchPypi , pythonOlder , asdf , astropy , setuptools-scm , astropy-helpers , astropy-extension-helpers , beautifulsoup4 , drms , glymur , hypothesis , matplotlib , numpy , pandas , parfive , pytest-astropy , pytest-mock , pytestcov , python-dateutil , scikitimage , scipy , sqlalchemy , towncrier , tqdm , zeep }: buildPythonPackage rec { pname = "sunpy"; version = "2.1.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "8bbc440e606a4f3fcbd1441150d81da6f0208adace9dc06f6afd2c9cb7c08908"; }; nativeBuildInputs = [ setuptools-scm astropy-extension-helpers ]; propagatedBuildInputs = [ numpy scipy matplotlib pandas astropy astropy-helpers parfive sqlalchemy scikitimage towncrier glymur beautifulsoup4 drms python-dateutil zeep tqdm asdf ]; checkInputs = [ hypothesis pytest-astropy pytestcov pytest-mock ]; # darwin has write permission issues doCheck = stdenv.isLinux; # ignore documentation tests checkPhase = '' PY_IGNORE_IMPORTMISMATCH=1 HOME=$(mktemp -d) pytest sunpy -k 'not rst' ''; meta = with lib; { description = "SunPy: Python for Solar Physics"; homepage = "https://sunpy.org"; license = licenses.bsd2; maintainers = [ maintainers.costrouc ]; }; }