summaryrefslogtreecommitdiffstats
path: root/python-xyz.scm
blob: 5d043b06accc01b2332b7f6e4481d6953e9b61d2 (plain) (blame)
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
(define-module (python-xyz)
               #:use-module ((guix licenses) :prefix license:)
               #:use-module (guix packages)
               #:use-module (guix build-system pyproject)
               #:use-module (guix build-system python)
               #:use-module (guix download)
               #:use-module (guix git-download)
               #:use-module (guix gexp)
               #:use-module (gnu packages)
               #:use-module (gnu packages wget)
               #:use-module (gnu packages web)
               #:use-module (gnu packages video)
               #:use-module (gnu packages python-web)
               #:use-module (gnu packages version-control)
               #:use-module (gnu packages commencement)
               #:use-module (gnu packages wxwidgets)
               #:use-module (gnu packages python-graphics)
               #:use-module (gnu packages python-compression)
               #:use-module (gnu packages python-check)
               #:use-module (gnu packages check)
               #:use-module (gnu packages compression)
               #:use-module (gnu packages python-xyz)
               #:use-module (gnu packages python-build)
               #:use-module (gnu packages python-science)
               #:use-module (sherlock)
               )
(define-public comedyGenerator
               (package
                 (name "comedyGenerator")
                 (version "1.0.5")
                 (source (origin
                           (method git-fetch)
                           (uri (git-reference
                                  (url "https://git.techchud.xyz/comedyGenerator")
                                  (commit (string-append "v" version))))
                           (file-name (git-file-name name version))
                           (sha256
                             (base32
                               "1mi33n9l0pshn1vnxcr56p5ldx1zr178dmaibz5ggqz7m347cj25"))))
                 (build-system python-build-system)
                 (arguments
                   '(
                     #:phases
                     (modify-phases %standard-phases
                                    (delete 'check)
                                    (delete 'sanity-check)
                                    (add-after 'wrap 'wrap-ffmpeg
                                               (lambda* (#:key inputs outputs #:allow-other-keys)
                                                        (let ((ffmpeg (string-append (assoc-ref inputs "ffmpeg") "/bin" )))
                                                          (wrap-program (string-append (assoc-ref outputs "out") "/bin/comedyGenerator")
                                                                        `("PATH" ":" prefix ,(list ffmpeg) ) ))))
                                    )))

                 (inputs
                   (list
                     ffmpeg
                     python-xdg
                     python-requests
                     python-multiprocess
                     ))
                 (synopsis "Ifunny API scrapper for downloading videos and gifs.")
                 (description
                   "Ifunny API scrapper for downloading videos and gifs.")
                 (home-page "https://git.techchud.xyz/comedyGenerator/")
                 (license license:agpl3)))

(define-public stashley
               (package
                 (name "stashley")
                 (version "2.0.4")
                 (source (origin
                           (method git-fetch)
                           (uri (git-reference
                                  (url "https://git.techchud.xyz/stashley")
                                  (commit (string-append "v" version))))
                           (file-name (git-file-name name version))
                           (sha256
                             (base32
                               "1d83w8yb7570b9pdsj44vcflzs8a6hh0zcmkf076hx4s837bmqbl"))))
                 (build-system python-build-system)
                 (arguments
                   '(
                     #:phases
                     (modify-phases %standard-phases
                                    (delete 'check)
                                    (delete 'sanity-check)
                                    )))
                 (inputs
                   (list
                     yt-dlp
                     gallery-dl
                     wget
                     python-tomli
                     python-tomli-w
                     ;python-sherlock
                     ))
                 (synopsis "Program using TOML files to archive personalities to IPFS")
                 (description
                   "Stashley is a program used for archiving personalities using
                   TOML files, and if IPFS is installed, pushing them to IPFS.")
                   (home-page "https://git.techchud.xyz/stashley/")
                   (license license:agpl3)))
(define-public python-imagehash
               (package
                 (name "python-imagehash")
                 (version "4.3.1")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "ImageHash" version))
                     (sha256
                       (base32 "0w5ay3dblgn0ijg4mwmmq13a759by1bakh6q7pmmnn70z6vx2f3h"))))
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check) ;Networking required for checks, so disable them
                                     )))

                 (build-system python-build-system)
                 (propagated-inputs (list python-numpy python-pillow python-pywavelets
                                          python-scipy))
                 (home-page "https://github.com/JohannesBuchner/imagehash")
                 (synopsis "Image Hashing library")
                 (description "Image Hashing library.")
                 (license #f)))

(define-public python-httrack-py
  (package
    (name "python-httrack-py")
    (version "0.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "httrack-py" version))
       (sha256
        (base32 "01s6ahn1mfnxcj602s8p6p1yxfigjwm8cqc1wlbfvxmrb0vb2isw"))))
    (build-system python-build-system)
(arguments
 `(#:phases
   (modify-phases %standard-phases
         (add-before 'build 'apply-patch
           (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "src/httrack-py.c"
               (("#include \"htscore.h\"") ""))))
     (add-before 'build 'set-cflags
       (lambda* (#:key inputs #:allow-other-keys)
         (setenv "CFLAGS" (string-append "-I" (assoc-ref inputs "httrack") "/include/httrack")))))))
    (native-inputs (list python-setuptools python-wheel))
    (inputs (list httrack))
    (home-page "http://code.google.com/p/httrack-py/")
    (synopsis "httrack-py library: wrapper to use httrack website copier")
    (description "httrack-py library: wrapper to use httrack website copier.")
    (license license:gpl2)))

(define-public python-hsh
  (package
    (name "python-hsh")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "hsh" version))
       (sha256
        (base32 "11fznnb3vl6xplg2gvphrmglyw3s41r4jg5skl1gpslgafn46kn0"))))
    (build-system python-build-system)
    (propagated-inputs (list python-commandlines))
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://github.com/chrissimpkins/hsh")
    (synopsis "Simple file hash digests and file integrity checks")
    (description "Simple file hash digests and file integrity checks.")
    (license license:expat)))

(define-public python-proglog
  (package
    (name "python-proglog")
    (version "0.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "proglog" version))
       (sha256
        (base32 "1d6s9mg2fr3dr30x05cvsvw25kpakkzqyj2zyarawk1fr34ji335"))))
    (build-system python-build-system)
    (propagated-inputs (list python-tqdm))
    (native-inputs (list python-setuptools python-wheel))
    (home-page "")
    (synopsis "Log and progress bar manager for console, notebooks, web...")
    (description "Log and progress bar manager for console, notebooks, web...")
    (license license:expat)))

(define-public python-moviepy
  (package
    (name "python-moviepy")
    (version "2.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "moviepy" version))
       (sha256
        (base32 "0xzf73hnib7aqhblidqg0vhq4l60czgr21z8kynyl1znf9s7mi92"))))
    (build-system python-build-system)
    (propagated-inputs (list python-decorator
                             python-imageio
                             python-imageio-ffmpeg
                             python-numpy
                             python-pillow
                             python-proglog
                             python-dotenv))
    (native-inputs (list python-coveralls python-pytest python-pytest-cov
                         python-setuptools python-wheel))
    (home-page "https://github.com/Zulko/moviepy")
    (synopsis "Video editing with Python")
    (description "Video editing with Python.")
    (license license:expat)))

(define-public python-pymatting
  (package
    (name "python-pymatting")
    (version "1.1.13")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pymatting" version))
       (sha256
        (base32 "00c1ad1glgb11055rbh8sqwycb979biyhbfwg96yzpdcxx5prnrc"))))
    (build-system python-build-system)
    (propagated-inputs (list python-numba python-numpy python-pillow
                             python-scipy))
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://pymatting.github.io")
    (synopsis "Python package for alpha matting.")
    (description "Python package for alpha matting.")
    (license license:expat)))

(define-public python-types-pyinstaller
  (package
    (name "python-types-pyinstaller")
    (version "6.16.0.20250918")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "types_pyinstaller" version))
       (sha256
        (base32 "0favd1ghmna0y0mvkfn1xd2zi9b2754gl30cmpv9yhba5yxz1v0b"))))
    (build-system pyproject-build-system)
    (arguments `(#:tests? #f))
    (native-inputs (list python-setuptools-next python-wheel))
    (home-page #f)
    (synopsis "Typing stubs for pyinstaller")
    (description "Typing stubs for pyinstaller.")
    (license #f)))

(define-public python-minecraft-resource-pack
  (package
    (name "python-minecraft-resource-pack")
    (version "1.4.6")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "minecraft_resource_pack" version))
       (sha256
        (base32 "06a66qi5by70a4j4ysxrb8a1wx8ik6sxfnlxjxhzvhbiwfpp86b4"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-amulet-nbt python-numpy python-pillow
                             python-platformdirs))
    (native-inputs (list python-black
                         python-mypy
                         python-pre-commit
                         python-setuptools
                         python-types-pyinstaller
                         python-versioneer
                         python-wheel))
    (home-page "https://www.amuletmc.com")
    (synopsis
     "A Python library reading Minecraft's various resource pack formats.")
    (description
     "This package provides a Python library reading Minecraft's various resource pack
formats.")
    (license #f)))

(define-public python-pymctranslate
  (package
    (name "python-pymctranslate")
    (version "1.2.35")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pymctranslate" version))
       (sha256
        (base32 "172f9bcpav0wca0lwwmr15vxhby1gx96zxc767k8s67yiw941pd6"))))
    (build-system pyproject-build-system)
    (arguments `(#:tests? #f))
    (propagated-inputs (list python-amulet-nbt python-numpy))
    (native-inputs (list python-black python-pre-commit python-setuptools
                         python-versioneer python-wheel))
    (home-page "https://www.amuletmc.com")
    (synopsis "A Minecraft data translation system.")
    (description "This package provides a Minecraft data translation system.")
    (license #f)))

(define-public python-mutf8
  (package
    (name "python-mutf8")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "mutf8" version))
       (sha256
        (base32 "0imkkj2q77i78pi1p1595xxva012j6q09fsh8w85fnifgjvfzfqv"))))
    (build-system pyproject-build-system)
    (arguments `(#:tests? #f))
    (native-inputs (list python-pytest python-pytest-benchmark
                         python-setuptools python-wheel))
    (home-page "http://github.com/TkTech/mutf8")
    (synopsis "Fast MUTF-8 encoder & decoder")
    (description "Fast MUTF-8 encoder & decoder.")
    (license #f)))

(define-public python-amulet-nbt
  (package
    (name "python-amulet-nbt")
    (version "2.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "amulet_nbt" version))
       (sha256
        (base32 "05xvxwym8cw7362sfwz37sivbp2wybji24rq4sjr6695zcz3f8xb"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-mutf8 python-numpy))
    (native-inputs (list python-black
                         python-cython
                         python-numpy
                         python-pre-commit
                         python-setuptools
                         python-versioneer
                         python-wheel))
    (home-page "https://www.amuletmc.com")
    (synopsis "Read and write Minecraft NBT and SNBT data.")
    (description "Read and write Minecraft NBT and SNBT data.")
    (license #f)))

(define-public python-amulet-leveldb
  (package
    (name "python-amulet-leveldb")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "amulet_leveldb" version))
       (sha256
        (base32 "0h8mnh5dhrshagamivwkq0fjnf8gxnyraqz945mvrxhvywg53amk"))))
    (build-system pyproject-build-system)
    (inputs (list zlib))
    (native-inputs (list python-black
                         python-cython
                         python-mypy
                         python-pre-commit
                         python-setuptools
                         python-versioneer
                         python-wheel))
    (home-page "https://www.amuletmc.com")
    (synopsis "A Cython wrapper for Mojang's custom LevelDB.")
    (description
     "This package provides a Cython wrapper for Mojang's custom @code{LevelDB}.")
    (license #f)))

(define-public python-amulet-core
  (package
    (name "python-amulet-core")
    (version "1.9.30")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "amulet_core" version))
       (sha256
        (base32 "07d0l341iln58zh07gpj4zrhdixvmvi9hqa2kb6anys47ffa5j49"))))
    (build-system pyproject-build-system)
    (arguments `(#:tests? #f))
    (propagated-inputs (list python-amulet-leveldb
                             python-amulet-nbt
                             python-lz4
                             python-numpy
                             python-platformdirs
                             python-portalocker
                             python-pymctranslate))
    (native-inputs (list python-black
                         python-cython
                         python-numpy
                         python-pre-commit
                         python-setuptools
                         python-versioneer
                         python-wheel))
    (home-page "https://www.amuletmc.com")
    (synopsis
     "A Python library for reading/writing Minecraft's various save formats.")
    (description
     "This package provides a Python library for reading/writing Minecraft's various
save formats.")
    (license #f)))

(define-public amulet
  (package
    (name "amulet")
    (version "0.10.44")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "amulet_map_editor" version))
       (sha256
        (base32 "1411dfm0f634y91q4h5va792x46p6vbwsqcyyln8k88mfninklcr"))))
    (build-system pyproject-build-system)
    (inputs (list 
                             python-amulet-core
                             python-amulet-nbt
                             python-minecraft-resource-pack
                             python-numpy
                             python-packaging
                             python-pillow
                             python-platformdirs
                             python-pymctranslate
                             python-pyopengl
                             python-wxpython))
    (native-inputs (list python-black
                         python-cython
                         python-numpy
                         python-pre-commit
                         python-setuptools
                         python-versioneer
                         python-wheel
                         ))
    (home-page "https://www.amuletmc.com")
    (synopsis
     "A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.")
    (description
     "This package provides a new Minecraft world editor and converter that supports
all versions since Java 1.12 and Bedrock 1.7.")
    (license #f)))