-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexperimental.nix
261 lines (222 loc) · 5.76 KB
/
experimental.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
final: prev: with prev; rec {
icon-font-to-png = buildPythonPackage rec {
pname = "icon-font-to-png";
version = "0.4.1";
format = "setuptools";
src = pkgs.fetchFromGitHub {
owner = "Pythonity";
repo = pname;
rev = "v${version}";
hash = "sha256-6BK9LtI9Kr/rdQQidUtk4YCW5rZfvFzbDF4hkjoQYW8=";
};
propagatedBuildInputs = [
pillow
requests
six
tinycss
];
meta = with lib; {
description = "Python script (and library) for exporting icons from icon fonts (e.g. Font Awesome, Octicons) as PNG images";
homepage = "https://github.com/Pythonity/icon-font-to-png";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
};
stylecloud = buildPythonPackage rec {
pname = "stylecloud";
version = "0.5.2";
format = "setuptools";
src = pkgs.fetchFromGitHub {
owner = "minimaxir";
repo = pname;
rev = "v${version}";
hash = "sha256-WZRzT254JWhhaKYuiq9KMmTo1m5ywK0TzmaVJVeCt2k=";
};
propagatedBuildInputs = [
wordcloud
icon-font-to-png
palettable
fire
matplotlib
];
meta = with lib; {
description = "CLI to generate stylistic wordclouds, including gradients and icon shapes";
homepage = "https://github.com/minimaxir/stylecloud";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
};
icon-image = buildPythonPackage rec {
pname = "icon-image";
version = "0.0.0";
format = "setuptools";
src = pkgs.fetchFromGitHub {
owner = "minimaxir";
repo = pname;
rev = "5ceceb8fa66e56a59ed7a833cd585df21869e3b9";
hash = "sha256-Vq9oBdruldS4wURU1XbmfwXsjnVO/L1zRDhPU11OqsE=";
};
propagatedBuildInputs = [
pillow
numpy
icon-font-to-png
fire
];
preBuild = ''
cat >./setup.py << EOF
from setuptools import setup
setup(
name="icon-image",
entry_points={"console_scripts": ["icon-image=icon_image:cli"]}
)
EOF
'';
meta = with lib; {
description = "quickly generate a Font Awesome icon imposed on a background for steering AI image generation";
homepage = "https://github.com/minimaxir/icon-image";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
};
sqlite-minutils = buildPythonPackage rec {
pname = "sqlite-minutils";
version = "3.36.0.post4";
pyproject = true;
src = fetchPypi {
pname = "sqlite_minutils";
inherit version;
hash = "sha256-SkSt84IHluKwwks1mCxT5oejqV177b54WcSMzmYWg3o=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
fastcore
];
pythonImportsCheck = [ "sqlite_minutils" ];
meta = with lib; {
description = "A fork of sqlite-utils with CLI etc removed";
homepage = "https://pypi.org/project/sqlite-minutils/";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};
};
fastlite = buildPythonPackage rec {
pname = "fastlite";
version = "0.0.8";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-qQz/ax74QgsXRIMCcrXqCPDnXGOtexXYwHe5f6ztQ9s=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
wheel
];
pythonRelaxDeps = [
"fastcore"
];
propagatedBuildInputs = [
fastcore
sqlite-minutils
];
pythonImportsCheck = [ "fastlite" ];
meta = with lib; {
description = "A bit of extra usability for sqlite";
homepage = "https://pypi.org/project/fastlite/";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};
};
fasthtml = buildPythonPackage rec {
pname = "python-fasthtml";
version = "0.4.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-jn32w93V7RaZSxjmerJKCzTuxK0MVa6ZesVkiYQFTKA=";
};
nativeBuildInputs = [
setuptools
wheel
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"fastcore"
"uvicorn"
];
propagatedBuildInputs = [
beautifulsoup4
fastcore
fastlite
httpx
itsdangerous
oauthlib
python-dateutil
python-multipart
starlette
uvicorn
];
passthru.optional-dependencies = {
dev = [
ipython
lxml
];
};
pythonImportsCheck = [ "fasthtml" ];
meta = with lib; {
description = "The fastest way to create an HTML app";
homepage = "https://github.com/AnswerDotAI/fasthtml";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};
};
maas = buildPythonPackage rec {
pname = "maas";
version = "3.5.0-beta1";
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "canonical";
repo = "maas";
rev = version;
hash = "sha256-39+b/cuLJfPyjz+07ppPhUNTZeRn8CfJ8viuZFM0i3A=";
fetchSubmodules = true;
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
aiodns
aiofiles
aiohttp
asyncpg
bson
fastapi
httplib2
hvac
jsonschema
lxml
macaroonbakery
markupsafe
oauthlib
paramiko
pexpect
psycopg2
pyopenssl
pytz
pyyaml
requests
uvloop
];
pythonImportsCheck = [ "maascli" ];
meta = with lib; {
description = "Official MAAS repository mirror (may be out of date). Development happens in Launchpad (https://git.launchpad.net/maas";
homepage = "https://github.com/canonical/maas/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ jpetrucciani ];
};
};
}