summaryrefslogtreecommitdiffstats
path: root/python-xyz.scm
blob: 5bf0c933cee038b8198c759a30e988b42bc20922 (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
(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 video)
               #:use-module (gnu packages python-web)
               #: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 pyproject-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.3")
                 (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
                               "01pih5d142a1vsga69kgwx740j53wzad399vbbl77ks5nyx65jpk"))))
                 (build-system pyproject-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 pyproject-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)))