mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-06 12:24:17 +01:00
* Drop dependency on python-telegram-bot, as it's not used. * Align default templates. This patch tries to bring some consistency to the default templates and fixes some small bug in the output of some formatters.
29 lines
1.1 KiB
Scheme
29 lines
1.1 KiB
Scheme
(define-module (docker image)
|
|
#:use-module (guix build-system python)
|
|
#:use-module (guix gexp) ;; for #$ and #~
|
|
#:use-module (guix packages)
|
|
#:use-module (docker mobilizon-reshare) ;; for mobilizon-reshare.git
|
|
#:use-module (gnu packages python))
|
|
|
|
(define-public mobilizon-reshare-scheduler
|
|
(package (inherit mobilizon-reshare.git)
|
|
(name "mobilizon-reshare-scheduler")
|
|
(build-system python-build-system)
|
|
(arguments
|
|
`(#:phases
|
|
(modify-phases %standard-phases
|
|
(delete 'configure)
|
|
(delete 'build)
|
|
(delete 'check)
|
|
(replace 'install
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((bin (string-append (assoc-ref outputs "out")
|
|
"/bin")))
|
|
(mkdir-p bin)
|
|
(install-file "scripts/scheduler.py" bin)))))))
|
|
(propagated-inputs (list mobilizon-reshare.git
|
|
python-apscheduler))
|
|
(synopsis "Mobilizon Reshare's scheduler")
|
|
(description "This script is intended to start a scheduler
|
|
running @code{mobilizon-reshare}.")))
|