diff --git a/pkgs/development/python-modules/fn/default.nix b/pkgs/development/python-modules/fn/default.nix deleted file mode 100644 index 186937474c9faf..00000000000000 --- a/pkgs/development/python-modules/fn/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchpatch, - fetchPypi, - pythonAtLeast, -}: - -buildPythonPackage rec { - pname = "fn"; - version = "0.4.3"; - format = "setuptools"; - - # Python 3.11 changed the API of the `inspect` module and fn was never - # updated to adapt; last commit was in 2014. - disabled = pythonAtLeast "3.11"; - - src = fetchPypi { - inherit pname version; - sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq"; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/kachayev/fn.py/commit/a54fc0bd8aeae277de2db726131d249ce607c0c2.patch"; - hash = "sha256-I0ZISOgVibsc1k7gwSfeW6qV9PspQqdaHlRLr/IusQ8="; - excludes = [ "fn/monad.py" ]; - }) - ]; - - meta = with lib; { - description = '' - Functional programming in Python: implementation of missing - features to enjoy FP - ''; - homepage = "https://github.com/kachayev/fn.py"; - license = licenses.asl20; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 1fc09323888799..23c5babd36b793 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -240,6 +240,7 @@ mapAliases ({ flufl_bounce = flufl-bounce; # added 2023-11-03 flufl_i18n = flufl-i18n; # added 2023-11-03 flufl_lock = flufl-lock; # added 2023-11-03 + fn = throw "fn was removed as it is no longer used by any package in nixpkgs, it is not compatible with python 3.11 or newer and it was last updated in 2014."; # added 2025-02-08 forbiddenfruit = throw "forbiddenfruit has been removed, because it was unmaintained and relied on the nose test framework"; # added 2024-07-08 FormEncode = formencode; # added 2023-02-19 foundationdb51 = throw "foundationdb51 is no longer maintained, use foundationdb71 instead"; # added 2023-06-06 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f6395cd8c045d9..5da918a72d0fa5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4894,8 +4894,6 @@ self: super: with self; { flynt = callPackage ../development/python-modules/flynt { }; - fn = callPackage ../development/python-modules/fn { }; - fnv-hash-fast = callPackage ../development/python-modules/fnv-hash-fast { }; fnvhash = callPackage ../development/python-modules/fnvhash { };