From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48511) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGHXP-0004I0-DQ for guix-patches@gnu.org; Fri, 04 Oct 2019 02:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGHXO-00082i-0C for guix-patches@gnu.org; Fri, 04 Oct 2019 02:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGHXN-00082d-Sf for guix-patches@gnu.org; Fri, 04 Oct 2019 02:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGHXN-0000rY-Qh for guix-patches@gnu.org; Fri, 04 Oct 2019 02:58:01 -0400 Subject: [bug#37613] [PATCH 1/1] gnu: Add python-httpie. References: <20191004065520.tcuz74tsjgqfbh6q@rafflesia> In-Reply-To: <20191004065520.tcuz74tsjgqfbh6q@rafflesia> Resent-Message-ID: Date: Fri, 4 Oct 2019 08:57:35 +0200 From: Tanguy Le Carrour Message-ID: <20191004065735.iy7j2at3h2l4cej7@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wnceuqabwzrlyupc" Content-Disposition: inline Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37613@debbugs.gnu.org --wnceuqabwzrlyupc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --wnceuqabwzrlyupc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit >From 8a60be6eb9ee4e17dc4fbc19ada22c7993841b26 Mon Sep 17 00:00:00 2001 From: "tanguy@bioneland.org" Date: Fri, 4 Oct 2019 08:44:59 +0200 Subject: [PATCH] gnu: Add python-httpie. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e37ae94e18..b7d3b0aa73 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2019 Vagrant Cascadian ;;; Copyright © 2019 Brendan Tildesley ;;; Copyright © 2019 Pierre Langlois +;;; Copyright © 2019 Tanguy Le Carrour ;;; ;;; This file is part of GNU Guix. ;;; @@ -303,6 +304,32 @@ other HTTP libraries.") (define-public python2-httplib2 (package-with-python2 python-httplib2)) +(define-public python-httpie + (package + (name "python-httpie") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "httpie" version)) + (sha256 + (base32 + "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd")))) + (build-system python-build-system) + (arguments + ;; The tests attempt to access external web servers, so we cannot run them. + '(#:tests? #f)) + (propagated-inputs + `(("python-colorama" ,python-colorama) + ("python-pygments" ,python-pygments) + ("python-requests" ,python-requests))) + (home-page "http://httpie.org/") + (synopsis + "HTTPie - a CLI, cURL-like tool for humans") + (description + "HTTPie - a CLI, cURL-like tool for humans.") + (license license:bsd-3))) + (define-public python-html2text (package (name "python-html2text") -- 2.23.0 --wnceuqabwzrlyupc--