78efc47b99
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
72 lines
1.4 KiB
Nix
72 lines
1.4 KiB
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
|
, alembic
|
|
, click
|
|
, cloudpickle
|
|
, requests
|
|
, six
|
|
, flask
|
|
, numpy
|
|
, pandas
|
|
, python-dateutil
|
|
, protobuf
|
|
, GitPython
|
|
, pyyaml
|
|
, querystring_parser
|
|
, simplejson
|
|
, docker
|
|
, databricks-cli
|
|
, entrypoints
|
|
, sqlparse
|
|
, sqlalchemy
|
|
, gorilla
|
|
, gunicorn
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mlflow";
|
|
version = "1.12.1";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9b8af18d6e779fbbb094edfeb963691e485bba62eeec39fd62dfbe34bc12afeb";
|
|
};
|
|
|
|
# run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
|
|
# also, tests use conda so can't run on NixOS without buildFHSUserEnv
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
alembic
|
|
click
|
|
cloudpickle
|
|
requests
|
|
six
|
|
flask
|
|
numpy
|
|
pandas
|
|
python-dateutil
|
|
protobuf
|
|
GitPython
|
|
pyyaml
|
|
querystring_parser
|
|
simplejson
|
|
docker
|
|
databricks-cli
|
|
entrypoints
|
|
sqlparse
|
|
sqlalchemy
|
|
gorilla
|
|
gunicorn
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/mlflow/mlflow";
|
|
description = "Open source platform for the machine learning lifecycle";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ tbenst ];
|
|
# missing prometheus-flask-exporter, not packaged in nixpkgs
|
|
broken = true; # 2020-08-15
|
|
};
|
|
}
|