From 3c39ddc7124c33ea0abe2d35a293b79942bf32b6 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Wed, 14 Sep 2016 08:28:22 +0200 Subject: [PATCH 1/2] gnu: python: Add python-i3. * gnu/packages/python.scm (python-i3, python2-i3): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e2e1ec2..1691449 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9012,6 +9012,31 @@ and parameters in Python 2 source code. These refactorings can also be applied to occurences in strings and comments.") (license license:gpl2))) +(define-public python-i3 + (package + (name "python-i3") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "i3-py" version)) + (sha256 + (base32 + "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y")))) + (build-system python-build-system) + ;; No tests yet. + (arguments '(#:tests? #f)) + (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.") + (license license:gpl3+))) + +(define-public python2-i3 + (package-with-python2 python-i3)) + (define-public python-py3status (package (name "python-py3status") -- 2.10.0