at 22.05-pre 766 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, pandas 6, six 7, astropy 8, pytestCheckHook 9, pytest-doctestplus 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "drms"; 15 version = "0.6.2"; 16 format = "pyproject"; 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-Id8rPK8qq71gHn5DKnEi7Lp081GFbcFtGU+v89Vlt9o="; 22 }; 23 24 propagatedBuildInputs = [ 25 numpy 26 pandas 27 six 28 ]; 29 30 checkInputs = [ 31 astropy 32 pytestCheckHook 33 pytest-doctestplus 34 ]; 35 36 pythonImportsCheck = [ "drms" ]; 37 38 meta = with lib; { 39 description = "Access HMI, AIA and MDI data with Python"; 40 homepage = "https://github.com/sunpy/drms"; 41 license = licenses.bsd2; 42 maintainers = with maintainers; [ costrouc ]; 43 }; 44}