Files
2026-10-23 04:58:55 +00: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.96";
pyproject = true;
# nixpkgs-update: no auto update
# updated via comfyui
src = fetchPypi {
pname = "comfyui_workflow_templates";
inherit (finalAttrs) version;
hash = "sha256-ZhupwfoqLQPsmE2OVqKj0/j2VAK7Y/A4Z8Zi5HeARLw=";
};
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;
};
})