1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-24 01:51:51 +02:00

gnu: poezio: Switch to pyproject.

* gnu/packages/messaging.scm (poezio):
[source, arguments]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: Ie384f594babfbc9919d9458d8ffc1f92d00b1118
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-12-29 09:33:12 +01:00
committed by Sharlatan Hellseher
parent 1664f8c899
commit bbb8b2903e
+14 -16
View File
@@ -431,25 +431,23 @@ TCP sessions from existing clients.")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://codeberg.org/poezio/poezio")
(commit
(string-append "v" version))))
(file-name
(git-file-name name version))
(uri (git-reference
(url "https://codeberg.org/poezio/poezio")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "15vlmymqlcf94h1g6dvgzjvj15c47dqsm78qs40wl2dlwspvqkxj"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
(list #:tests? #f ; tests fails without the OTR plugin
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
(lambda _
(substitute* "setup.py"
(("'CC', 'cc'")
"'CC', 'gcc'")))))))
(list
#:tests? #f ;tests fails without the OTR plugin
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
(lambda _
(substitute* "setup.py"
(("'CC', 'cc'")
"'CC', 'gcc'")))))))
(native-inputs
(list pkg-config python-setuptools python-sphinx))
(inputs