Unverified Commit 1320c069 authored by ruro's avatar ruro
Browse files

python3Packages.fn: remove

This package was only used as a dependency of bpycv which was removed in
the previous commit.
parent 34d1bd44
Loading
Loading
Loading
Loading
+0 −39
Original line number Diff line number Diff line
{
  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;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -241,6 +241,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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };