Unverified Commit 85d60ac9 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents 7a920225 64baa540
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -3983,7 +3983,8 @@
      ];
    "noaa_tides" =
      ps: with ps; [
      ]; # missing inputs: noaa-coops
        noaa-coops
      ];
    "nobo_hub" =
      ps: with ps; [
        pynobo
+2 −0
Original line number Diff line number Diff line
@@ -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 { };