python313Packages.noaa-coops: init at 0.4.0 (#426563)
This commit is contained in:
48
pkgs/development/python-modules/noaa-coops/default.nix
Normal file
48
pkgs/development/python-modules/noaa-coops/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -3983,7 +3983,8 @@
|
||||
];
|
||||
"noaa_tides" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: noaa-coops
|
||||
noaa-coops
|
||||
];
|
||||
"nobo_hub" =
|
||||
ps: with ps; [
|
||||
pynobo
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user