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