python3Packages.peacasso: init at 0.0.19a0

Moraxyc fd4e5841 637eb621

+69
+67
pkgs/development/python-modules/peacasso/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + setuptools-scm, 7 + accelerate, 8 + diffusers, 9 + fastapi, 10 + ftfy, 11 + pydantic, 12 + scipy, 13 + torch, 14 + transformers, 15 + typer, 16 + uvicorn, 17 + nix-update-script, 18 + }: 19 + 20 + buildPythonPackage rec { 21 + pname = "peacasso"; 22 + version = "0.0.19a0"; 23 + pyproject = true; 24 + 25 + # No releases or tags are available in https://github.com/victordibia/peacasso 26 + src = fetchPypi { 27 + inherit pname version; 28 + hash = "sha256-qBoG9FAJs0oZrQ0jShtPZfZPmyUZD30MGXDUfMl5bQk="; 29 + }; 30 + 31 + build-system = [ 32 + setuptools 33 + setuptools-scm 34 + ]; 35 + 36 + dependencies = [ 37 + accelerate 38 + diffusers 39 + fastapi 40 + ftfy 41 + pydantic 42 + scipy 43 + torch 44 + transformers 45 + typer 46 + uvicorn 47 + ]; 48 + 49 + pythonRelaxDeps = [ "diffusers" ]; 50 + 51 + pythonImportsCheck = [ 52 + "peacasso" 53 + ]; 54 + 55 + # No tests 56 + doCheck = false; 57 + 58 + passthru.updateScript = nix-update-script { }; 59 + 60 + meta = { 61 + description = "UI tool to help you generate art (and experiment) with multimodal (text, image) AI models (stable diffusion)"; 62 + homepage = "https://github.com/victordibia/peacasso"; 63 + license = lib.licenses.mit; 64 + maintainers = with lib.maintainers; [ moraxyc ]; 65 + mainProgram = "peacasso"; 66 + }; 67 + }
+2
pkgs/top-level/python-packages.nix
··· 10303 10303 10304 10304 pdoc3 = callPackage ../development/python-modules/pdoc3 { }; 10305 10305 10306 + peacasso = callPackage ../development/python-modules/peacasso { }; 10307 + 10306 10308 peaqevcore = callPackage ../development/python-modules/peaqevcore { }; 10307 10309 10308 10310 pegen = callPackage ../development/python-modules/pegen { };