mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
71 lines
1.3 KiB
Nix
71 lines
1.3 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.4.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9116d82be380c32fa465049d14b217c4c200ad11614f4c6674e6b524b2935206";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|