summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-29 09:33:12 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 13:53:52 +0000
commitbbb8b2903eeae8ad2b273894c1855c91726fb0f8 (patch)
tree767be4c43806753e278a8187e9b4919b34265282
parent1664f8c8991cb48bad7ccf0404daa98402502fea (diff)
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>
-rw-r--r--gnu/packages/messaging.scm30
1 files changed, 14 insertions, 16 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index cad8fc0f412..a21cc684c72 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -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