1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, poetry-core 6, dataprep-ml 7, numpy 8, pandas 9, scikit-learn 10, type-infer 11}: 12 13buildPythonPackage rec { 14 pname = "mindsdb-evaluator"; 15 version = "0.0.11"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 # using PyPI as git repository does not have release tags or branches 21 src = fetchPypi { 22 pname = "mindsdb_evaluator"; 23 inherit version; 24 hash = "sha256-pEfY+ocLEE8qcDjf6AzJxtXo1cqD2LhcBmlLjN0llTA="; 25 }; 26 27 nativeBuildInputs = [ 28 poetry-core 29 ]; 30 31 propagatedBuildInputs = [ 32 dataprep-ml 33 numpy 34 pandas 35 scikit-learn 36 type-infer 37 ]; 38 39 pythonImportsCheck = [ "mindsdb_evaluator" ]; 40 41 meta = with lib; { 42 description = "Model evaluation for Machine Learning pipelines"; 43 homepage = "https://pypi.org/project/mindsdb-evaluator/"; 44 license = licenses.gpl3Only; 45 maintainers = with maintainers; [ mbalatsko ]; 46 }; 47}