mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 12:01:49 +02:00
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>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
085593c5ef
commit
53d0957396
+18
-19
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user