1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fetchPypi, 6 pandas, 7 poetry-core, 8 pythonOlder, 9 requests, 10 zeep, 11}: 12 13buildPythonPackage rec { 14 pname = "noaa-coops"; 15 version = "0.4.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 pname = "noaa_coops"; 22 inherit version; 23 hash = "sha256-m3hTzUspYTMukwcj3uBbRahTmXbL1aJVD9NXfjwghB8="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 pandas 30 requests 31 zeep 32 ]; 33 34 # The package does not include tests in the PyPI source distribution 35 doCheck = false; 36 37 pythonImportsCheck = [ 38 "noaa_coops" 39 "noaa_coops.station" 40 ]; 41 42 meta = { 43 description = "Python wrapper for NOAA CO-OPS Tides & Currents Data and Metadata APIs"; 44 homepage = "https://github.com/GClunies/noaa_coops"; 45 license = lib.licenses.asl20; 46 maintainers = [ lib.maintainers.jamiemagee ]; 47 }; 48}