flake/packages/diffusers/default.nix
matthewcroughan 5615f114d7 init
2023-02-11 22:54:48 +00:00

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";
};
}