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
53 lines
934 B
Nix
53 lines
934 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, wheel
|
|
, filelock
|
|
, huggingface-hub
|
|
, opencv-python
|
|
, torchvision
|
|
, einops
|
|
, scikit-image
|
|
, timm
|
|
, pythonRelaxDepsHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "controlnet-aux";
|
|
version = "0.0.7";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "controlnet_aux";
|
|
inherit version;
|
|
hash = "sha256-23KZMjum04ni/mt9gTGgWica86SsKldHdUSMTQd4vow=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
filelock
|
|
huggingface-hub
|
|
opencv-python
|
|
torchvision
|
|
einops
|
|
scikit-image
|
|
timm
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "controlnet_aux" ];
|
|
pythonRemoveDeps = [ "opencv-python" ];
|
|
|
|
meta = with lib; {
|
|
description = "Auxillary models for controlnet";
|
|
homepage = "https://pypi.org/project/controlnet-aux/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|