From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 02/20] gnu: Add python-httpbin Date: Fri, 14 Apr 2017 13:13:02 +0300 Message-ID: <20170414101320.11755-2-fredmanglis@gmail.com> References: <20170414101320.11755-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyyDn-0000fI-59 for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyyDl-000585-VK for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:55 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyyDl-00057f-Oi for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:53 -0400 Received: by mail-wm0-x242.google.com with SMTP id d79so17169328wmi.2 for ; Fri, 14 Apr 2017 03:12:53 -0700 (PDT) In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com> 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" To: guix-devel@gnu.org Cc: pjotr2017@thebird.nl * gnu/packages/python.scm (python-httpbin): New variable. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 23b6d86..618b965 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14003,3 +14003,30 @@ recognize TestCases.") (define-public python2-radon (package-with-python2 python-radon)) + +(define-public python-httpbin + (package + (name "python-httpbin") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "httpbin" version)) + (sha256 + (base32 + "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr")))) + (build-system python-build-system) + (propagated-inputs + `(("python-decorator" ,python-decorator) + ("python-flask" ,python-flask) + ("python-itsdangerous" ,python-itsdangerous) + ("python-markupsafe" ,python-markupsafe) + ("python-six" ,python-six))) + (home-page "https://github.com/Runscope/httpbin") + (synopsis "HTTP Request and Response Service") + (description "HTTP Request and Response Service which covers all kinds of HTTP +scenarios") + (license license:expat))) + +(define-public python2-httpbin + (package-with-python2 python-httpbin)) -- 2.10.2