1{ lib, buildPythonPackage, fetchPypi, isPy27
2, alembic
3, click
4, cloudpickle
5, requests
6, six
7, flask
8, numpy
9, pandas
10, python-dateutil
11, protobuf
12, GitPython
13, pyyaml
14, querystring_parser
15, simplejson
16, docker
17, databricks-cli
18, entrypoints
19, sqlparse
20, sqlalchemy
21, gorilla
22, gunicorn
23}:
24
25buildPythonPackage rec {
26 pname = "mlflow";
27 version = "1.20.2";
28 disabled = isPy27;
29
30 src = fetchPypi {
31 inherit pname version;
32 sha256 = "b15ff0c7e5e64f864a0b40c99b9a582227315eca2065d9f831db9aeb8f24637b";
33 };
34
35 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
36 # also, tests use conda so can't run on NixOS without buildFHSUserEnv
37 doCheck = false;
38
39 propagatedBuildInputs = [
40 alembic
41 click
42 cloudpickle
43 requests
44 six
45 flask
46 numpy
47 pandas
48 python-dateutil
49 protobuf
50 GitPython
51 pyyaml
52 querystring_parser
53 simplejson
54 docker
55 databricks-cli
56 entrypoints
57 sqlparse
58 sqlalchemy
59 gorilla
60 gunicorn
61 ];
62
63 meta = with lib; {
64 homepage = "https://github.com/mlflow/mlflow";
65 description = "Open source platform for the machine learning lifecycle";
66 license = licenses.asl20;
67 maintainers = with maintainers; [ tbenst ];
68 # missing prometheus-flask-exporter, not packaged in nixpkgs
69 broken = true; # 2020-08-15
70 };
71}