diff --git a/pkgs/development/python-modules/pytrends/default.nix b/pkgs/development/python-modules/pytrends/default.nix deleted file mode 100644 index c9e20859086b..000000000000 --- a/pkgs/development/python-modules/pytrends/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - setuptools, - setuptools-scm, - wheel, - requests, - lxml, - pandas, - pytestCheckHook, - pytest-recording, - responses, -}: - -buildPythonPackage rec { - pname = "pytrends"; - version = "4.9.2"; - format = "pyproject"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-aRxuNrGuqkdU82kr260N/0RuUo/7BS7uLn8TmqosaYk="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'addopts = "--cov pytrends/"' "" - ''; - - nativeBuildInputs = [ - setuptools - setuptools-scm - wheel - ]; - - propagatedBuildInputs = [ - requests - lxml - pandas - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-recording - responses - ]; - - pytestFlagsArray = [ "--block-network" ]; - - pythonImportsCheck = [ "pytrends" ]; - - meta = with lib; { - description = "Pseudo API for Google Trends"; - homepage = "https://github.com/GeneralMills/pytrends"; - license = [ licenses.asl20 ]; - maintainers = [ maintainers.mmahut ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 434e1b6f3cd9..993cc160d172 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -508,6 +508,7 @@ mapAliases ({ pynose = throw "pynose was removed, because it violates the license of nose, by redistributing modified LGPL code under MIT."; python-ethtool = ethtool; # added 2024-07-23 python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07 + pytrends = throw "pytrends has been removed, as it no longer works and is abandoned upstream"; # added 2025-02-02 pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09 pyqt5_sip = pyqt5-sip; # added 2024-01-07 pyqt5_with_qtmultimedia = pyqt5-multimedia; # added 2024-01-07 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a128bbcc871e..618d4192a534 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13621,8 +13621,6 @@ self: super: with self; { pytransportnswv2 = callPackage ../development/python-modules/pytransportnswv2 { }; - pytrends = callPackage ../development/python-modules/pytrends { }; - pytricia = callPackage ../development/python-modules/pytricia { }; pytrydan = callPackage ../development/python-modules/pytrydan { };