diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-29 09:33:12 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-31 13:53:52 +0000 |
| commit | bbb8b2903eeae8ad2b273894c1855c91726fb0f8 (patch) | |
| tree | 767be4c43806753e278a8187e9b4919b34265282 /gnu | |
| parent | 1664f8c8991cb48bad7ccf0404daa98402502fea (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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/messaging.scm | 30 |
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.") | |||
| 431 | (source | 431 | (source |
| 432 | (origin | 432 | (origin |
| 433 | (method git-fetch) | 433 | (method git-fetch) |
| 434 | (uri | 434 | (uri (git-reference |
| 435 | (git-reference | 435 | (url "https://codeberg.org/poezio/poezio") |
| 436 | (url "https://codeberg.org/poezio/poezio") | 436 | (commit (string-append "v" version)))) |
| 437 | (commit | 437 | (file-name (git-file-name name version)) |
| 438 | (string-append "v" version)))) | ||
| 439 | (file-name | ||
| 440 | (git-file-name name version)) | ||
| 441 | (sha256 | 438 | (sha256 |
| 442 | (base32 "15vlmymqlcf94h1g6dvgzjvj15c47dqsm78qs40wl2dlwspvqkxj")))) | 439 | (base32 "15vlmymqlcf94h1g6dvgzjvj15c47dqsm78qs40wl2dlwspvqkxj")))) |
| 443 | (build-system python-build-system) | 440 | (build-system pyproject-build-system) |
| 444 | (arguments | 441 | (arguments |
| 445 | (list #:tests? #f ; tests fails without the OTR plugin | 442 | (list |
| 446 | #:phases | 443 | #:tests? #f ;tests fails without the OTR plugin |
| 447 | #~(modify-phases %standard-phases | 444 | #:phases |
| 448 | (add-after 'unpack 'patch | 445 | #~(modify-phases %standard-phases |
| 449 | (lambda _ | 446 | (add-after 'unpack 'patch |
| 450 | (substitute* "setup.py" | 447 | (lambda _ |
| 451 | (("'CC', 'cc'") | 448 | (substitute* "setup.py" |
| 452 | "'CC', 'gcc'"))))))) | 449 | (("'CC', 'cc'") |
| 450 | "'CC', 'gcc'"))))))) | ||
| 453 | (native-inputs | 451 | (native-inputs |
| 454 | (list pkg-config python-setuptools python-sphinx)) | 452 | (list pkg-config python-setuptools python-sphinx)) |
| 455 | (inputs | 453 | (inputs |
