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