From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 21/31] gnu: Add python-pyjwt. Date: Fri, 5 Sep 2014 11:18:27 -0400 Message-ID: <1409930317-13220-21-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIF-0001Rj-06 for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvI8-0003hp-KG for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:18 -0400 Received: from na3sys009aog135.obsmtp.com ([74.125.149.84]:36977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI8-0003hS-6m for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:12 -0400 Received: by mail-yh0-f43.google.com with SMTP id f73so7587463yha.30 for ; Fri, 05 Sep 2014 08:19:11 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-pyjwt, python2-pyjwt): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 115168e..2e16838 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1570,3 +1570,31 @@ somewhat intelligeble.") (define-public python2-unidecode (package-with-python2 python-unidecode)) + +(define-public python-pyjwt + (package + (name "python-pyjwt") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/PyJWT/PyJWT-" + version ".tar.gz")) + (sha256 + (base32 + "1ahqblfy2sj3xz34wsa48cn9rp0dspzq56p54i5znmws3b8gml6g")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; test suite doesn't work + (home-page "http://github.com/progrium/pyjwt") + (synopsis "JSON Web Token implementation in Python") + (description + "PyJWT is a JSON Web Token implementation written in Python.") + (license expat))) + +(define-public python2-pyjwt + (package-with-python2 python-pyjwt)) + -- 2.0.1