Files
nix-config/packages/python/comfy-kitchen/default.nix
2026-04-05 19:10:23 -05:00

26 lines
491 B
Nix

{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
inherit (selected.variables) version;
in
python3Packages.buildPythonPackage {
pname = "comfy-kitchen";
inherit version;
format = "wheel";
src = sources."comfy-kitchen";
doCheck = false;
}