mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 08:06:23 +01:00
64 lines
886 B
Nix
64 lines
886 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, writeText
|
|
, isPy27
|
|
, pytestCheckHook
|
|
, pytest-mpl
|
|
, numpy
|
|
, scipy
|
|
, scikit-learn
|
|
, pandas
|
|
, transformers
|
|
, opencv4
|
|
, lightgbm
|
|
, catboost
|
|
, pyspark
|
|
, sentencepiece
|
|
, tqdm
|
|
, slicer
|
|
, numba
|
|
, matplotlib
|
|
, nose
|
|
, lime
|
|
, cloudpickle
|
|
, ipython
|
|
, packaging
|
|
, pillow
|
|
, requests
|
|
, regex
|
|
, importlib-metadata
|
|
, huggingface-hub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "diffusers";
|
|
version = "0.7.2";
|
|
|
|
disabled = isPy27;
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-+4FP/RUMxvRwOAuMalIRgad76y9EE00qrS5M2Kos7Q4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
pillow
|
|
numpy
|
|
requests
|
|
regex
|
|
importlib-metadata
|
|
huggingface-hub
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Diffusers";
|
|
homepage = "https://github.com/huggingface/diffusers";
|
|
};
|
|
}
|