python310Packages.python-forecastio: remove

The package was used to access the dark sky API, which does not exist
anymore.
This commit is contained in:
Martin Weinelt 2023-04-05 23:40:46 +02:00
parent e89108897d
commit 90d51cadb2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 1 additions and 33 deletions

View File

@ -1,31 +0,0 @@
{ buildPythonPackage, lib, fetchPypi
, requests
, nose
, responses
}:
buildPythonPackage rec {
pname = "python-forecastio";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0m6lf4a46pnwm5xg9dnmwslwzrpnj6d9agw570grciivbvb1ji0l";
};
nativeCheckInputs = [ nose ];
propagatedBuildInputs = [ requests responses ];
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = "https://zeevgilovitz.com/python-forecast.io/";
description = "A thin Python Wrapper for the Dark Sky (formerly forecast.io) weather API";
license = licenses.bsd2;
maintainers = with maintainers; [ makefu ];
};
}

View File

@ -220,6 +220,7 @@ mapAliases ({
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
pytestrunner = pytest-runner; # added 2021-01-04
python-forecastio = throw "python-forecastio has been removed, as the Dark Sky service was shut down."; # added 2023-04-05
python-igraph = igraph; # added 2021-11-11
python-lz4 = lz4; # added 2018-06-01
python_magic = python-magic; # added 2022-05-07

View File

@ -9477,8 +9477,6 @@ self: super: with self; {
python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
python-forecastio = callPackage ../development/python-modules/python-forecastio { };
python-frontmatter = callPackage ../development/python-modules/python-frontmatter { };
python-gammu = callPackage ../development/python-modules/python-gammu { };