mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-17 04:00:39 +01:00
mobilizon-reshare.scm: Hotfix applied to the image
This patch allows mobilizon-reshare to be installed in a Guix profile.
This commit is contained in:
parent
5afbcd2192
commit
ca878454b4
@ -3,6 +3,7 @@
|
|||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix transformations)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
@ -309,6 +310,12 @@ simplify testing of asynchronous tornado applications.")
|
|||||||
(sha256
|
(sha256
|
||||||
(base32 "0nybbsgaff8ihfh74nhmng6qj74pfpg99njc7ivysphg0lmr63j1"))))))
|
(base32 "0nybbsgaff8ihfh74nhmng6qj74pfpg99njc7ivysphg0lmr63j1"))))))
|
||||||
|
|
||||||
|
(define click-8-instead-of-click-7
|
||||||
|
(package-input-rewriting/spec `(("python-click" . ,(const python-click-8.0)))))
|
||||||
|
|
||||||
|
(define requests-2.25-instead-of-requests-2.26
|
||||||
|
(package-input-rewriting/spec `(("python-requests" . ,(const python-requests-2.25)))))
|
||||||
|
|
||||||
(define-public mobilizon-reshare.git
|
(define-public mobilizon-reshare.git
|
||||||
(let ((source-version (with-input-from-file
|
(let ((source-version (with-input-from-file
|
||||||
(string-append %source-dir
|
(string-append %source-dir
|
||||||
@ -325,7 +332,8 @@ simplify testing of asynchronous tornado applications.")
|
|||||||
#:select? (git-predicate %source-dir)))
|
#:select? (git-predicate %source-dir)))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:tests? #f
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'generate-setup.py
|
(add-after 'unpack 'generate-setup.py
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
@ -356,19 +364,19 @@ simplify testing of asynchronous tornado applications.")
|
|||||||
python-pytest-lazy-fixture
|
python-pytest-lazy-fixture
|
||||||
python-responses))
|
python-responses))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-aerich
|
(list (click-8-instead-of-click-7 python-aerich)
|
||||||
python-aiosqlite
|
python-aiosqlite
|
||||||
python-appdirs
|
python-appdirs
|
||||||
python-arrow
|
python-arrow
|
||||||
python-beautifulsoup4
|
python-beautifulsoup4
|
||||||
python-click-8.0
|
python-click-8.0
|
||||||
dynaconf
|
(click-8-instead-of-click-7 dynaconf)
|
||||||
python-facebook-sdk
|
(requests-2.25-instead-of-requests-2.26 python-facebook-sdk)
|
||||||
python-jinja2
|
python-jinja2
|
||||||
python-markdownify
|
python-markdownify
|
||||||
python-requests-2.25
|
python-requests-2.25
|
||||||
python-telegram-bot
|
python-telegram-bot
|
||||||
python-tweepy
|
(requests-2.25-instead-of-requests-2.26 python-tweepy)
|
||||||
python-tortoise-orm-0.18.1))
|
python-tortoise-orm-0.18.1))
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare")
|
"https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user