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