From e4226f8ac4ae23835aa5f57808d3f2063a131d84 Mon Sep 17 00:00:00 2001 From: Omar Radwan Date: Sun, 1 Feb 2015 20:40:22 -0800 Subject: [PATCH 2/2] gnu: Add urwid * gnu/packages/python.scm (urwid): New Variable --- gnu/packages/python.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 19016b4..1e44dbb 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2014, 2015 Federico Beffa ;;; Copyright © 2015 Omar Radwan + ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it @@ -2857,19 +2858,20 @@ and written in Python.") (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 + (uri (list (string-append "https:/pypi.python.org/packages/source/u/urwid/urwid-"version".tar.gz") + ;;Downloading from the upstream URI above fails die to an invalid ETag header. +"https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz")) (sha256 (base32 "18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19")))) (build-system python-build-system) - (inputs `(("python-2" ,python-2) - - ("python2-setuptools" ,python2-setuptools))) - (home-page "urwid.org/") + (arguements `(("python-2" ,python-2))) + (native-imputs `(("python2-setuptools" ,python2-setuptools))) + (home-page "http://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") + "Urwid is a console user interface library for python. It + includes many features useful for text +console applications.") (license lgpl2.1))) -- 2.2.1