[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add httpie.
From: |
guix-commits |
Subject: |
01/01: gnu: Add httpie. |
Date: |
Fri, 18 Oct 2019 11:07:22 -0400 (EDT) |
wigust pushed a commit to branch master
in repository guix.
commit dabcfc6de29032ea52d1cb54163a783f7e480167
Author: Tanguy Le Carrour <address@hidden>
Date: Mon Oct 14 13:43:20 2019 +0200
gnu: Add httpie.
* gnu/packages/python-web.scm (httpie): New variable.
Signed-off-by: Oleg Pykhalov <address@hidden>
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5c9da7c..752d120 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -30,6 +30,7 @@
;;; Copyright © 2019 Vagrant Cascadian <address@hidden>
;;; Copyright © 2019 Brendan Tildesley <address@hidden>
;;; Copyright © 2019 Pierre Langlois <address@hidden>
+;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -303,6 +304,34 @@ other HTTP libraries.")
(define-public python2-httplib2
(package-with-python2 python-httplib2))
+(define-public httpie
+ (package
+ (name "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 "https://httpie.org/")
+ (synopsis "cURL-like tool for humans")
+ (description
+ "A command line HTTP client with an intuitive UI, JSON support,
+syntax highlighting, wget-like downloads, plugins, and more. It consists of
+a single http command designed for painless debugging and interaction with
+HTTP servers, RESTful APIs, and web services.")
+ (license license:bsd-3)))
+
(define-public python-html2text
(package
(name "python-html2text")