From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 37613@debbugs.gnu.org
Subject: [bug#37613] [PATCH 1/1] gnu: Add python-httpie.
Date: Fri, 4 Oct 2019 08:57:35 +0200 [thread overview]
Message-ID: <20191004065735.iy7j2at3h2l4cej7@rafflesia> (raw)
In-Reply-To: <20191004065520.tcuz74tsjgqfbh6q@rafflesia>
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: Type: text/plain, Size: 1820 bytes --]
From 8a60be6eb9ee4e17dc4fbc19ada22c7993841b26 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <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 <vagrant@debian.org>
;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
;;;
;;; 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
next prev parent reply other threads:[~2019-10-04 6:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-04 6:55 [bug#37613] [PATCH 0/1] gnu: Add python-httpie Tanguy Le Carrour
2019-10-04 6:57 ` Tanguy Le Carrour [this message]
2019-10-14 9:56 ` [bug#37613] Updating commit messages Tanguy Le Carrour
2019-10-14 11:43 ` [bug#37613] [PATCH] gnu: Add python-httpie Tanguy Le Carrour
2019-10-17 20:13 ` Oleg Pykhalov
2019-10-18 12:50 ` Tanguy Le Carrour
2019-10-18 15:09 ` bug#37613: " Oleg Pykhalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191004065735.iy7j2at3h2l4cej7@rafflesia \
--to=tanguy@bioneland.org \
--cc=37613@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.