fmt
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
...
|
||||
@@ -26,56 +25,53 @@ python3Packages.buildPythonPackage rec {
|
||||
# ];
|
||||
|
||||
build-system = with python3Packages; [
|
||||
|
||||
|
||||
];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
aiohttp
|
||||
torch
|
||||
torchaudio
|
||||
torchvision
|
||||
numpy
|
||||
requests
|
||||
dependencies = with python3Packages; [
|
||||
aiohttp
|
||||
torch
|
||||
torchaudio
|
||||
torchvision
|
||||
numpy
|
||||
requests
|
||||
|
||||
torchsde
|
||||
einops
|
||||
transformers
|
||||
tokenizers
|
||||
sentencepiece
|
||||
safetensors
|
||||
aiohttp
|
||||
yarl
|
||||
pyyaml
|
||||
pillow
|
||||
scipy
|
||||
tqdm
|
||||
psutil
|
||||
alembic
|
||||
sqlalchemy
|
||||
av
|
||||
requests
|
||||
torchsde
|
||||
einops
|
||||
transformers
|
||||
tokenizers
|
||||
sentencepiece
|
||||
safetensors
|
||||
aiohttp
|
||||
yarl
|
||||
pyyaml
|
||||
pillow
|
||||
scipy
|
||||
tqdm
|
||||
psutil
|
||||
alembic
|
||||
sqlalchemy
|
||||
av
|
||||
requests
|
||||
|
||||
#non essential dependencies:
|
||||
kornia
|
||||
# spandrel
|
||||
pydantic
|
||||
pydantic-settings
|
||||
];
|
||||
#non essential dependencies:
|
||||
kornia
|
||||
# spandrel
|
||||
pydantic
|
||||
pydantic-settings
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
|
||||
|
||||
];
|
||||
|
||||
setupPhase = null;
|
||||
|
||||
# comfyui-frontend-package==1.37.11
|
||||
# comfyui-workflow-templates==0.8.31
|
||||
# comfyui-embedded-docs==0.4.0
|
||||
# comfy-kitchen
|
||||
# comfy-aimdo
|
||||
|
||||
# comfyui-workflow-templates==0.8.31
|
||||
# comfyui-embedded-docs==0.4.0
|
||||
# comfy-kitchen
|
||||
# comfy-aimdo
|
||||
|
||||
# pythonImportsCheck = [ "roborock" ];
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
@@ -26,19 +25,19 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out
|
||||
cp -r $src $out
|
||||
'';
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
|
||||
passthru = {
|
||||
inherit
|
||||
# comfyuiSrc
|
||||
# pythonRuntime
|
||||
# modelDownloaderDir
|
||||
# frontendRoot
|
||||
# dependencies
|
||||
version
|
||||
# comfyuiSrc
|
||||
# pythonRuntime
|
||||
# modelDownloaderDir
|
||||
# frontendRoot
|
||||
# dependencies
|
||||
version
|
||||
;
|
||||
|
||||
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
@@ -55,4 +54,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ ];
|
||||
mainProgram = "comfy-ui";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
@@ -26,19 +25,19 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out
|
||||
cp -r $src $out
|
||||
'';
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
|
||||
passthru = {
|
||||
inherit
|
||||
# comfyuiSrc
|
||||
# pythonRuntime
|
||||
# modelDownloaderDir
|
||||
# frontendRoot
|
||||
# dependencies
|
||||
version
|
||||
# comfyuiSrc
|
||||
# pythonRuntime
|
||||
# modelDownloaderDir
|
||||
# frontendRoot
|
||||
# dependencies
|
||||
version
|
||||
;
|
||||
|
||||
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
@@ -55,4 +54,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ ];
|
||||
mainProgram = "comfy-ui";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,9 +46,7 @@ let
|
||||
++ (with pkgs.${namespace}; [
|
||||
comfy-aimdo
|
||||
]);
|
||||
pythonEnv = python3.withPackages (
|
||||
_ps: dependencies
|
||||
);
|
||||
pythonEnv = python3.withPackages (_ps: dependencies);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "comfy-ui";
|
||||
@@ -72,8 +70,8 @@ stdenv.mkDerivation rec {
|
||||
ln -sf ${pythonEnv}/bin/python $out/bin/python
|
||||
cp -r $src/* $out/app
|
||||
'';
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
# ln -s ${comfyUiLauncher}/bin/comfy-ui $out/bin/comfy-ui
|
||||
# ln -s $out/bin/comfy-ui $out/bin/comfyui
|
||||
|
||||
# passthru = {
|
||||
# inherit
|
||||
@@ -84,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||
# dependencies
|
||||
# version
|
||||
# ;
|
||||
|
||||
|
||||
# };
|
||||
|
||||
meta = with lib; {
|
||||
@@ -106,4 +104,4 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
mainProgram = "comfy-ui";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user