summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-20 18:09:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-27 22:02:52 +0000
commit53d0957396ee03663a92cd34e6c9c1a9975e1f30 (patch)
tree2005c71332ce4a59ea174b006fc7c57bbb42009a /gnu
parent085593c5ef32b0b2449455c6651952ed78d85e18 (diff)
gnu: python-i3-py: Switch to pyproject.
* gnu/packages/wm.scm (python-i3-py): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Refresh phase 'install-doc. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: Ida9397a7ffb3e142b44ac7f1516e072a93b853e6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm37
1 files changed, 18 insertions, 19 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index bb4b8a40fdc..046792e21b3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -983,29 +983,28 @@ window managers.")
(url "https://github.com/ziberna/i3-py")
(commit "27f88a616e9ecc340e7d041d3d00782f8a1964c1")))
(sha256
- (base32
- "1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
+ (base32 "1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
(file-name (string-append name "-" version "-checkout"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; no tests yet
- #:phases (modify-phases %standard-phases
- (add-after 'install 'install-doc
- ;; Copy readme file to documentation directory.
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((doc (string-append (assoc-ref outputs "out")
- "/share/doc/" ,name)))
- (install-file "README.md" doc)
- ;; Avoid unspecified return value.
- #t))))))
- (propagated-inputs
- (list i3-wm))
+ (list
+ #:tests? #f ;no tests yet
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ ;; Copy readme file to documentation directory.
+ (lambda _
+ (install-file "README.md"
+ (string-append #$output "/share/doc/" #$name)))))))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list i3-wm))
(home-page "https://github.com/ziberna/i3-py")
(synopsis "Python interface to the i3 window manager")
- (description "This package allows you to interact from a Python program
-with the i3 window manager via its IPC socket. It can send commands and other
-kinds of messages to i3, select the affected containers, filter results and
-subscribe to events.")
+ (description
+ "This package allows you to interact from a Python program with the i3
+window manager via its IPC socket. It can send commands and other kinds of
+messages to i3, select the affected containers, filter results and subscribe
+to events.")
(license license:gpl3+)))
(define-public qtile