Skip to content

Commit

Permalink
Fix docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
fishinthecalculator committed Mar 1, 2024
1 parent be715d2 commit 904aa06
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 39 deletions.
28 changes: 19 additions & 9 deletions guix.scm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages markup) ;; for python-markdownify
#:use-module (gnu packages python-web) ;; for python-fastapi-pagination-minimal
#:use-module (gnu packages python-web) ;; for python-fastapi-pagination-minimal and uvicorn
#:use-module (gnu packages python-xyz) ;; for python-apscheduler
#:use-module (mobilizon-reshare package)
#:use-module (mobilizon-reshare dependencies)
Expand All @@ -27,14 +27,24 @@
(revision "0")
(commit (read-line
(open-input-pipe "git show HEAD | head -1 | cut -d ' ' -f 2"))))
(package (inherit mobilizon-reshare)
(name "mobilizon-reshare.git")
(version (git-version source-version revision commit))
(source mobilizon-reshare-git-origin)
(propagated-inputs
(modify-inputs (package-propagated-inputs mobilizon-reshare)
(replace "python-fastapi-pagination-minimal" python-fastapi-pagination-minimal)
(replace "python-markdownify" python-markdownify))))))
((package-input-rewriting/spec `(("python-fastapi" . ,(const python-fastapi))
("python-dotenv" . ,(const python-dotenv-0.13.0))
("python-uvicorn" . ,(const python-uvicorn))))
(package (inherit mobilizon-reshare)
(name "mobilizon-reshare.git")
(version (git-version source-version revision commit))
(source mobilizon-reshare-git-origin)
(propagated-inputs
(modify-inputs (package-propagated-inputs mobilizon-reshare)
(replace "python-uvicorn" python-uvicorn)
(replace "python-fastapi" python-fastapi)
(replace "python-fastapi-pagination-minimal"
(package
(inherit python-fastapi-pagination-minimal)
(propagated-inputs
(modify-inputs (package-propagated-inputs python-fastapi-pagination-minimal)
(replace "python-fastapi" python-fastapi)))))
(replace "python-markdownify" python-markdownify)))))))

(define-public mobilizon-reshare-scheduler
(package (inherit mobilizon-reshare.git)
Expand Down
41 changes: 13 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ appdirs = "~1.4"
tweepy = "~4.13"
facebook-sdk = "~3.1"
aerich = "~0.6"
fastapi = "~0.85"
uvicorn = "~0.17"
fastapi = "~0.92"
uvicorn = "~0.23"
fastapi-pagination = "~0.12"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 904aa06

Please sign in to comment.