mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 15:03:44 +00:00
gnu: pantalaimon: Update to 0.10.6.
* gnu/packages/matrix.scm (pantalaimon): Update to 0.10.6. [arguments]<#:phases>: Add 'create-pytest-ini phase. Change-Id: I0e24fd65638835ba4df55a53b57a3dbc02cb16a0 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
committed by
Andreas Enge
parent
7b52ea8ccb
commit
615ad81ecb
@@ -413,72 +413,76 @@ fledged batteries-included asyncio layer using aiohttp.")
|
|||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
(define-public pantalaimon
|
(define-public pantalaimon
|
||||||
(let ((commit "257ef6a2e5e5668cd43347037c09ba036f91d997")
|
(package
|
||||||
(revision "0"))
|
(name "pantalaimon")
|
||||||
(package
|
(version "0.10.6")
|
||||||
(name "pantalaimon")
|
(source
|
||||||
(version (git-version "0.10.5" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/matrix-org/pantalaimon")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://github.com/matrix-org/pantalaimon")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32 "07cf5k0b1i5pfplmx2p5l3ba76jjfzzcky9ylj7593k7nrm5drl3"))))
|
||||||
(sha256
|
(build-system pyproject-build-system)
|
||||||
(base32 "1i18mjlc143d2xwlha09i5ny06vipmy8fii05427zq5vjz8rysgx"))))
|
(arguments
|
||||||
(build-system pyproject-build-system)
|
(list
|
||||||
(arguments
|
#:test-flags
|
||||||
(list
|
#~(list "tests"
|
||||||
#:test-flags
|
;; These tests hang.
|
||||||
#~(list "tests"
|
"--ignore=tests/proxy_test.py"
|
||||||
;; These tests hang.
|
"-k" "not test_start_loop")
|
||||||
"--ignore=tests/proxy_test.py"
|
#:phases
|
||||||
"-k" "not test_start_loop")
|
#~(modify-phases %standard-phases
|
||||||
#:phases
|
(add-after 'unpack 'create-pytest-ini
|
||||||
#~(modify-phases %standard-phases
|
(lambda _
|
||||||
(add-after 'unpack 'relax-requirements
|
(call-with-output-file "pytest.ini"
|
||||||
(lambda _
|
(lambda (port)
|
||||||
(substitute* "setup.py"
|
(format port "[pytest]
|
||||||
;; Newer version is packaged.
|
asyncio_mode = auto")))))
|
||||||
(("\"matrix-nio\\[e2e\\] >= 0\\.24, < 0\\.25\\.2\"")
|
(add-after 'unpack 'relax-requirements
|
||||||
"\"matrix-nio[e2e] >= 0.24, <= 0.25.2\""))))
|
(lambda _
|
||||||
(add-after 'install 'install-doc
|
(substitute* "setup.py"
|
||||||
(lambda _
|
;; Newer version is packaged.
|
||||||
(with-directory-excursion "docs/man"
|
(("\"matrix-nio\\[e2e\\] >= 0\\.24, < 0\\.25\\.2\"")
|
||||||
(let ((man (string-append #$output "/share/man")))
|
"\"matrix-nio[e2e] >= 0.24, <= 0.25.2\""))))
|
||||||
(install-file "panctl.1" (string-append man "/man1"))
|
(add-after 'install 'install-doc
|
||||||
(install-file "pantalaimon.5" (string-append man "/man5"))
|
(lambda _
|
||||||
(install-file "pantalaimon.8"
|
(with-directory-excursion "docs/man"
|
||||||
(string-append man "/man8")))))))))
|
(let ((man (string-append #$output "/share/man")))
|
||||||
(native-inputs
|
(install-file "panctl.1" (string-append man "/man1"))
|
||||||
(list python-aioresponses
|
(install-file "pantalaimon.5" (string-append man "/man5"))
|
||||||
python-faker
|
(install-file "pantalaimon.8"
|
||||||
python-pytest
|
(string-append man "/man8")))))))))
|
||||||
python-pytest-aiohttp
|
(native-inputs
|
||||||
python-pytest-asyncio
|
(list python-aioresponses
|
||||||
python-setuptools))
|
python-faker
|
||||||
(propagated-inputs
|
python-pytest
|
||||||
(list python-aiohttp
|
python-pytest-aiohttp
|
||||||
python-attrs
|
python-pytest-asyncio
|
||||||
python-cachetools
|
python-setuptools))
|
||||||
python-click
|
(propagated-inputs
|
||||||
python-dbus
|
(list python-aiohttp
|
||||||
python-janus
|
python-attrs
|
||||||
python-keyring
|
python-cachetools
|
||||||
python-logbook
|
python-click
|
||||||
python-matrix-nio
|
python-dbus
|
||||||
python-notify2
|
python-janus
|
||||||
python-peewee
|
python-keyring
|
||||||
python-platformdirs
|
python-logbook
|
||||||
python-prompt-toolkit
|
python-matrix-nio
|
||||||
python-pydbus
|
python-notify2
|
||||||
python-pygobject))
|
python-peewee
|
||||||
(home-page "https://github.com/matrix-org/pantalaimon")
|
python-platformdirs
|
||||||
(synopsis "Matrix proxy daemon that adds E2E encryption capabilities")
|
python-prompt-toolkit
|
||||||
(description
|
python-pydbus
|
||||||
"Pantalaimon is an end-to-end encryption aware Matrix reverse proxy
|
python-pygobject))
|
||||||
|
(home-page "https://github.com/matrix-org/pantalaimon")
|
||||||
|
(synopsis "Matrix proxy daemon that adds E2E encryption capabilities")
|
||||||
|
(description
|
||||||
|
"Pantalaimon is an end-to-end encryption aware Matrix reverse proxy
|
||||||
daemon. Pantalaimon acts as a good man in the middle that handles the
|
daemon. Pantalaimon acts as a good man in the middle that handles the
|
||||||
encryption for you. Messages are transparently encrypted and decrypted for
|
encryption for you. Messages are transparently encrypted and decrypted for
|
||||||
clients inside of pantalaimon.")
|
clients inside of pantalaimon.")
|
||||||
(license license:asl2.0))))
|
(license license:asl2.0)))
|
||||||
|
|||||||
Reference in New Issue
Block a user