13 buildPythonPackage rec {
14 pname = "scikit-learn-extra";
16 format = "setuptools";
18 src = fetchFromGitHub {
19 owner = "scikit-learn-contrib";
22 sha256 = "sha256-dHOwo6NIuhcvIehpuJQ621JEg5O3mnXycAhpTZKaxns=";
29 propagatedBuildInputs = [
40 # Remove the package in the build dir, because Python defaults to it and
41 # ignores the one in Nix store with cythonized modules.
45 pytestFlagsArray = [ "--pyargs sklearn_extra" ];
52 "build" # needs network connection
53 "test_all_estimators" # sklearn.exceptions.NotFittedError: Estimator fails to pass `check_is_fitted` even though it has been fit.
56 # Check packages with cythonized modules
57 pythonImportsCheck = [
59 "sklearn_extra.cluster"
60 "sklearn_extra.robust"
65 description = "Set of tools for scikit-learn";
66 homepage = "https://github.com/scikit-learn-contrib/scikit-learn-extra";
67 license = lib.licenses.bsd3;
68 maintainers = with lib.maintainers; [ yl3dy ];