at 24.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fetchpatch, 6 astropy, 7 pillow, 8 pythonOlder, 9 pytestCheckHook, 10 pytest-astropy, 11 requests, 12 requests-mock, 13 setuptools-scm, 14}: 15 16buildPythonPackage rec { 17 pname = "pyvo"; 18 version = "1.5.1"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.8"; # according to setup.cfg 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-ByCBD+e3ZrpT0Q6dnkuyO8lnwVGm85LiKmy/4NRTpjI="; 26 }; 27 28 nativeBuildInputs = [ setuptools-scm ]; 29 30 propagatedBuildInputs = [ 31 astropy 32 requests 33 ]; 34 35 nativeCheckInputs = [ 36 pillow 37 pytestCheckHook 38 pytest-astropy 39 requests-mock 40 ]; 41 42 disabledTestPaths = [ 43 # touches network 44 "pyvo/dal/tests/test_datalink.py" 45 ]; 46 47 pythonImportsCheck = [ "pyvo" ]; 48 49 meta = with lib; { 50 description = "Astropy affiliated package for accessing Virtual Observatory data and services"; 51 homepage = "https://github.com/astropy/pyvo"; 52 license = licenses.bsd3; 53 maintainers = with maintainers; [ smaret ]; 54 }; 55}