diff mbox

gnu: Add py3status.

Message ID 20160530192454.13048-1-sleep_walker@gnu.org
State New
Headers show

Commit Message

Tomáš Čech May 30, 2016, 7:24 p.m. UTC
* gnu/packages/python.scm (python-py3status): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Tomáš Čech May 30, 2016, 8:01 p.m. UTC | #1
OK, I got too excited with sending patch, I'm just glad I get in touch once
again. And besides, that GPG signing of commits is new to me.

S_W
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc54bff..42a0e8a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8788,3 +8788,27 @@  the renaming, moving and extracting of attributes, functions, modules, fields
 and parameters in Python 2 source code.  These refactorings can also be applied
 to occurences in strings and comments.")
     (license gpl2)))
+
+(define-public python-py3status
+  (package
+    (name "python-py3status")
+    (version "2.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+	     "https://pypi.python.org/packages/60/cd/79b6d249befe0a136a29e2d634a4ac78730bc240bec247fc3bfa355f644b/py3status-"
+	     version ".tar.gz"))
+       (sha256
+	(base32
+	 ""))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/ultrabug/py3status")
+    (synopsis "Extensible i3status wrapper written in python")
+    (description "py3status is i3status wrapper which extends i3status
+functionality in modular way, allowing you to extend your panel with
+your own code, responding to click events and update clock every
+second.")
+    (license bsd-3)))