This commit is contained in:
Denis Manherz 2023-11-20 13:17:43 +01:00
parent 4ac0c475e2
commit 63e7cba144
3 changed files with 11 additions and 23 deletions

View file

@ -1,19 +1,20 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
}:
buildPythonPackage rec {
pname = "discord-webhook";
version = "1.3.0";
version = "1.2.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "";
sha256 = "sha256-COB3vzKYNwvyMsUvGqrph/J6WbTRLdDaaA85f5N73ZU=";
};
propagatedBuildInputs = [ ];
propagatedBuildInputs = [ poetry-core ];
doCheck = false;

View file

@ -78,16 +78,12 @@ in
];
python3Variants = {
amd = l.overlays.applyOverlays pkgs.python3Packages (commonOverlays ++ [
overlays.python-torchRocm
]);
nvidia = l.overlays.applyOverlays pkgs.python3Packages (commonOverlays ++ [
overlays.python-torchCuda
]);
};
src = inputs.a1111-src;
mkAutomatic1111Variant = args: pkgs.callPackage ./package.nix ({ inherit src; sd-src = inputs.sd-src; sgm-src = inputs.sgm-src; } // args);
in {
packages = {
@ -95,11 +91,6 @@ in
python3Packages = python3Variants.nvidia;
};
};
legacyPackages = {
a1111-amd = throw ''
AMD not done yet.
'';
};
};
flake.nixosModules = let
@ -110,12 +101,6 @@ in
};
in {
a1111 = ./nixos;
a1111-amd = {
imports = [
config.flake.nixosModules.invokeai
(packageModule "a1111-amd")
];
};
invokeai-nvidia = {
imports = [
config.flake.nixosModules.invokeai

View file

@ -19,10 +19,12 @@ python3Packages.buildPythonPackage {
version = "v1.6.0";
inherit src;
propagatedBuildInputs = with python3Packages; [
discord-webhook
numexpr
deforum
ultralytics
imageio #animatediff create webm and shit
av #animatediff create webm and shit
discord-webhook #for dreambooth i think
numexpr #for some extension
deforum #for some extension
ultralytics #extension
k_diffusion
inflection
gdown
@ -31,7 +33,7 @@ python3Packages.buildPythonPackage {
openclip
semver
numpy
rich
rich #extension
torchsde
uvicorn
pyperclip