Here it is.

On Sun, Feb 1, 2015 at 3:23 PM, Omar Radwan <toxemicsqui...@gmail.com>
wrote:

> Wow. I was in such a hurry I forgot to add the patch file
> On Feb 1, 2015 2:56 PM, "Omar Radwan" <toxemicsqui...@gmail.com> wrote:
>
>> Here is a patch to add urwid, which is required for wicd, which I will be
>> working on tomorrow, and hopefully finish by next week.
>>
>
From 7d65731aaec1b3dbca9364bc2b0f18c9fc9992e5 Mon Sep 17 00:00:00 2001
From: Omar Radwan <toxemicsqui...@gmail.com>
Date: Sun, 1 Feb 2015 14:43:59 -0800
Subject: [PATCH] gnu: Add urwid

* gnu/packages/python.scm(urwid) New variable.
---
 gnu/packages/python.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4b30695..19016b4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014 Mark H Weaver <m...@netris.org>
 ;;; Copyright © 2014 Eric Bavier <bav...@member.fsf.org>
 ;;; Copyright © 2014, 2015 Federico Beffa <be...@fbengineering.ch>
-;;;
+;;; Copyright © 2015 Omar Radwan <toxemicsqui...@gmail.com> 
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -2848,3 +2848,28 @@ and written in Python.")
 
 (define-public python2-html5lib
   (package-with-python2 python-html5lib))
+
+
+(define-public urwid
+  (package
+    (name "urwid")
+    (version "1.3.0")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append
+"https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz";)) ;;upstream can't be used because Pypi don't have ETag headers in qoutes
+      (sha256
+       (base32
+        "18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"))))
+    (build-system python-build-system)
+    (inputs `(("python-2" ,python-2)
+
+                ("python2-setuptools" ,python2-setuptools)))
+    (home-page "urwid.org/")
+    (synopsis "Console user interface library for Python")
+    (description
+     "Urwid is a console user interface library for python. It includes many features useful for text
+console application")
+    (license lgpl2.1)))
+
-- 
2.2.1

Reply via email to