python313Packages.noaa-coops: init at 0.4.0 (#426563)

This commit is contained in:
Martin Weinelt
2025-07-19 22:14:54 +02:00
committed by GitHub
3 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
pandas,
poetry-core,
pythonOlder,
requests,
zeep,
}:
buildPythonPackage rec {
pname = "noaa-coops";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "noaa_coops";
inherit version;
hash = "sha256-m3hTzUspYTMukwcj3uBbRahTmXbL1aJVD9NXfjwghB8=";
};
build-system = [ poetry-core ];
dependencies = [
pandas
requests
zeep
];
# The package does not include tests in the PyPI source distribution
doCheck = false;
pythonImportsCheck = [
"noaa_coops"
"noaa_coops.station"
];
meta = {
description = "Python wrapper for NOAA CO-OPS Tides & Currents Data and Metadata APIs";
homepage = "https://github.com/GClunies/noaa_coops";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@@ -3983,7 +3983,8 @@
];
"noaa_tides" =
ps: with ps; [
]; # missing inputs: noaa-coops
noaa-coops
];
"nobo_hub" =
ps: with ps; [
pynobo

View File

@@ -10370,6 +10370,8 @@ self: super: with self; {
nnpdf = toPythonModule (pkgs.nnpdf.override { python3 = python; });
noaa-coops = callPackage ../development/python-modules/noaa-coops { };
nocasedict = callPackage ../development/python-modules/nocasedict { };
nocaselist = callPackage ../development/python-modules/nocaselist { };