(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.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.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)))