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