Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 numpy, 6 pandas, 7 six, 8 astropy, 9 oldest-supported-numpy, 10 pytestCheckHook, 11 pytest-doctestplus, 12 pythonOlder, 13 setuptools-scm, 14 wheel, 15}: 16 17buildPythonPackage rec { 18 pname = "drms"; 19 version = "0.7.1"; 20 format = "pyproject"; 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-2VtAGRx0OnYdATK/ngNhffmQDjZfELYeTTPCdfkHAAc="; 26 }; 27 28 nativeBuildInputs = [ 29 numpy 30 oldest-supported-numpy 31 setuptools-scm 32 wheel 33 ]; 34 35 propagatedBuildInputs = [ 36 numpy 37 pandas 38 six 39 ]; 40 41 nativeCheckInputs = [ 42 astropy 43 pytestCheckHook 44 pytest-doctestplus 45 ]; 46 47 disabledTests = [ "test_query_hexadecimal_strings" ]; 48 49 disabledTestPaths = [ "docs/tutorial.rst" ]; 50 51 pythonImportsCheck = [ "drms" ]; 52 53 meta = with lib; { 54 description = "Access HMI, AIA and MDI data with Python"; 55 homepage = "https://github.com/sunpy/drms"; 56 license = licenses.bsd2; 57 maintainers = [ ]; 58 }; 59}