From bbb8b2903eeae8ad2b273894c1855c91726fb0f8 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 29 Dec 2025 09:33:12 +0100 Subject: [PATCH] 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 --- gnu/packages/messaging.scm | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index cad8fc0f412484f9eb9cd8fc2989d232611af344..a21cc684c72a451760ea0b8690f1394916a8ecf7 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