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