mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.mdp: drop
This commit is contained in:
parent
5e2ac4cf3e
commit
4d1d9e9ba0
@ -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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user