nixpkgs/pkgs/development/python-modules/mlflow/default.nix
2021-11-12 19:10:54 -08:00

71 lines
1.3 KiB
Nix

{ lib, 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
}:
buildPythonPackage rec {
pname = "mlflow";
version = "1.20.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "b15ff0c7e5e64f864a0b40c99b9a582227315eca2065d9f831db9aeb8f24637b";
};
# 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 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
};
}