mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 08:06:23 +01:00
- KoboldAI is no longer upstream maintained, so is now deprecated in nixified.ai - InvokeAI: v2.3.1.post2 -> v3.3.0post3 - textgen: init at v1.7 - treewide: update flake inputs including nixpkgs - treewide: add a bunch of new dependencies and upgrade old ones
45 lines
682 B
Nix
45 lines
682 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, safetensors
|
|
, isPy27
|
|
, numpy
|
|
, pillow
|
|
, requests
|
|
, regex
|
|
, importlib-metadata
|
|
, huggingface-hub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "diffusers";
|
|
version = "0.21.4";
|
|
|
|
disabled = isPy27;
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-P6w4gzF5Qn8WfGdd2nHue09eYnIARXqNUn5Aza+XJog=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
safetensors
|
|
setuptools
|
|
pillow
|
|
numpy
|
|
requests
|
|
regex
|
|
importlib-metadata
|
|
huggingface-hub
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Diffusers";
|
|
homepage = "https://github.com/huggingface/diffusers";
|
|
};
|
|
}
|