diff --git a/pkgs/development/python-modules/publicsuffix/default.nix b/pkgs/development/python-modules/publicsuffix/default.nix deleted file mode 100644 index 94a460a99332..000000000000 --- a/pkgs/development/python-modules/publicsuffix/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - setuptools, - pythonOlder, - publicsuffix-list, -}: - -buildPythonPackage rec { - pname = "publicsuffix"; - version = "1.1.1"; - pyproject = true; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-Is4dZatq9emyEi4kQ/rNuT+1xKvyQTgJnLEP55ifQ7Y="; - }; - - # disable test_fetch and the doctests (which also invoke fetch) - postPatch = '' - sed -i -e "/def test_fetch/i\\ - \\t@unittest.skip('requires internet')" -e "/def additional_tests():/,+1d" tests.py - - rm publicsuffix/public_suffix_list.dat - ln -s ${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat publicsuffix/public_suffix_list.dat - ''; - - build-system = [ setuptools ]; - - pythonImportsCheck = [ "publicsuffix" ]; - - meta = { - description = "Allows to get the public suffix of a domain name"; - homepage = "https://pypi.python.org/pypi/publicsuffix/"; - license = lib.licenses.mit; - maintainers = [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index c8be542a68f5..d088cdef7c94 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -315,6 +315,7 @@ mapAliases { protonvpn-nm-lib = throw "protonvpn-nm-lib source code was removed from upstream"; # Added 2025-10-16 proxy_tools = throw "'proxy_tools' has been renamed to/replaced by 'proxy-tools'"; # Converted to throw 2025-10-29 ptable = throw "ptable has been removed, as it is unmaintained and broken"; # added 2025-05-25 + publicsuffix = throw "'publicsuffix' is unmaintained since 2019. The API compatible publicsuffix2 should be used instead."; # Added 2025-12-19 push-receiver = throw "push-receiver has been removed since it is unmaintained for 3 years"; # added 2025-05-17 pushbullet = throw "'pushbullet' has been renamed to/replaced by 'pushbullet-py'"; # Converted to throw 2025-10-29 Pweave = throw "'Pweave' has been renamed to/replaced by 'pweave'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d5b47cbd5970..23d37451623a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12642,8 +12642,6 @@ self: super: with self; { ptyprocess = callPackage ../development/python-modules/ptyprocess { }; - publicsuffix = callPackage ../development/python-modules/publicsuffix { }; - publicsuffix2 = callPackage ../development/python-modules/publicsuffix2 { }; publicsuffixlist = callPackage ../development/python-modules/publicsuffixlist { };