diff --git a/pkgs/development/python-modules/mdp/default.nix b/pkgs/development/python-modules/mdp/default.nix deleted file mode 100644 index 69102cddcd3f..000000000000 --- a/pkgs/development/python-modules/mdp/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - future, - joblib, - numpy, - pytest, - pythonOlder, - scikit-learn, -}: - -buildPythonPackage rec { - pname = "mdp"; - version = "3.6"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "MDP"; - inherit version; - hash = "sha256-rFKmUsy67RhX/xIJhi8Dv5sG0JOxJgb7QQeH2jqmWg4="; - }; - - postPatch = '' - # https://github.com/mdp-toolkit/mdp-toolkit/issues/92 - substituteInPlace mdp/utils/routines.py \ - --replace numx.typeDict numx.sctypeDict - substituteInPlace mdp/test/test_NormalizingRecursiveExpansionNode.py \ - --replace py.test"" "pytest" - substituteInPlace mdp/test/test_RecursiveExpansionNode.py \ - --replace py.test"" "pytest" - ''; - - propagatedBuildInputs = [ - future - numpy - ]; - - nativeCheckInputs = [ - joblib - pytest - scikit-learn - ]; - - pythonImportsCheck = [ - "mdp" - "bimdp" - ]; - - checkPhase = '' - runHook preCheck - - pytest --seed 7710873 mdp - pytest --seed 7710873 bimdp - - runHook postCheck - ''; - - meta = with lib; { - description = "Library for building complex data processing software by combining widely used machine learning algorithms"; - homepage = "https://mdp-toolkit.github.io/"; - changelog = "https://github.com/mdp-toolkit/mdp-toolkit/blob/MDP-${version}/CHANGES"; - license = licenses.bsd3; - maintainers = with maintainers; [ nico202 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 98f605fa667b..1ecd2a8fa8f0 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -336,6 +336,7 @@ mapAliases ({ mask-rcnn = throw "mask-rcnn has been removed as it is unmaintained and its dependency imgaug no longer builds"; # added 2023-07-10 mac_alias = mac-alias; # added 2024-01-07 MDP = mdp; # added 2023-02-19 + mdp = throw "mdp has been removed as it is unmaintained and broken"; # added 2024-11-23 MechanicalSoup = mechanicalsoup; # added 2021-06-01 memcached = python-memcached; # added 2022-05-06 mailman = throw "Please use pkgs.mailman"; # added 2022-04-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 27e56d5cfedb..c4cd60b6fad7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7925,8 +7925,6 @@ self: super: with self; { mdutils = callPackage ../development/python-modules/mdutils { }; - mdp = callPackage ../development/python-modules/mdp { }; - mean-average-precision = callPackage ../development/python-modules/mean-average-precision { }; measurement = callPackage ../development/python-modules/measurement { };