summaryrefslogtreecommitdiffstats
path: root/python-xyz.scm
blob: 5a6e4b324917ef119a875b8734fe73017a10a02e (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
(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 (sherlock)
               )
(define-public comedyGenerator
               (package
                 (name "comedyGenerator")
                 (version "1.0.4")
                 (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
                               "0q3gq4sgr5j0lrh71am9a8am7vl13dibxg20apv3gyswiqc4bhps"))))
                 (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.1")
                 (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
                               "1zrbw4b0jmczaf0dbp29vv2997n42l12nxwq4wji3zm9bwcgb4zg"))))
                 (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)))