uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
87
pkgs/development/python-modules/mlflow/default.nix
Normal file
87
pkgs/development/python-modules/mlflow/default.nix
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
{ lib
|
||||
, alembic
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cloudpickle
|
||||
, databricks-cli
|
||||
, docker
|
||||
, entrypoints
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, flask
|
||||
, GitPython
|
||||
, gorilla
|
||||
, gunicorn
|
||||
, importlib-metadata
|
||||
, numpy
|
||||
, packaging
|
||||
, pandas
|
||||
, prometheus-flask-exporter
|
||||
, protobuf
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, querystring_parser
|
||||
, requests
|
||||
, scipy
|
||||
, simplejson
|
||||
, six
|
||||
, sqlalchemy
|
||||
, sqlparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mlflow";
|
||||
version = "1.26.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VoBESElY6nG9MU7UICbP2V5kH+6+GFaKMuy/mv6bk9Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
click
|
||||
cloudpickle
|
||||
databricks-cli
|
||||
docker
|
||||
entrypoints
|
||||
flask
|
||||
GitPython
|
||||
gorilla
|
||||
gunicorn
|
||||
importlib-metadata
|
||||
numpy
|
||||
packaging
|
||||
pandas
|
||||
prometheus-flask-exporter
|
||||
protobuf
|
||||
python-dateutil
|
||||
pyyaml
|
||||
querystring_parser
|
||||
requests
|
||||
scipy
|
||||
simplejson
|
||||
six
|
||||
sqlalchemy
|
||||
sqlparse
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mlflow"
|
||||
];
|
||||
|
||||
# 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;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source platform for the machine learning lifecycle";
|
||||
homepage = "https://github.com/mlflow/mlflow";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tbenst ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue