Files
2026-09-22 18:47:51 -04:00

55 lines
1.5 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
comfyui,
comfyui-workflow-templates-core,
comfyui-workflow-templates-json,
comfyui-workflow-templates-media-api,
comfyui-workflow-templates-media-assets-01,
comfyui-workflow-templates-media-assets-02,
comfyui-workflow-templates-media-video,
comfyui-workflow-templates-media-image,
comfyui-workflow-templates-media-other,
}:
buildPythonPackage (finalAttrs: {
pname = "comfyui-workflow-templates";
version = "0.11.66";
pyproject = true;
# nixpkgs-update: no auto update
# updated via comfyui
src = fetchPypi {
pname = "comfyui_workflow_templates";
inherit (finalAttrs) version;
hash = "sha256-PYTvWQ0u7MavD9lPHaEytxkdXOy35eze55qjd+D8tGI=";
};
build-system = [ setuptools ];
dependencies = [
comfyui-workflow-templates-core
comfyui-workflow-templates-json
comfyui-workflow-templates-media-api
comfyui-workflow-templates-media-assets-01
comfyui-workflow-templates-media-assets-02
comfyui-workflow-templates-media-image
comfyui-workflow-templates-media-other
comfyui-workflow-templates-media-video
];
# Package only ships static workflow JSON assets; no tests.
doCheck = false;
pythonImportsCheck = [ "comfyui_workflow_templates" ];
meta = {
description = "Workflow templates for ComfyUI";
homepage = "https://github.com/Comfy-Org/workflow_templates";
license = lib.licenses.mit;
inherit (comfyui.meta) maintainers;
};
})