guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/12: gnu: add python-httmock.


From: guix-commits
Subject: 05/12: gnu: add python-httmock.
Date: Sun, 26 Jan 2020 12:50:37 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 63f76ab29e69ef503ab1fb5e11255ba2caa02a3c
Author: Julien Lepiller <address@hidden>
AuthorDate: Sun Jan 12 23:49:47 2020 +0100

    gnu: add python-httmock.
    
    * gnu/packages/python-check.scm (python-httmock): New variable.
---
 gnu/packages/python-check.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d322121..a69619b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -313,3 +313,25 @@ framework.")
 of the code is covered by them.  This tool is part of the Codacy suite for
 analysing code quality.")
     (license license:expat)))
+
+(define-public python-httmock
+  (package
+    (name "python-httmock")
+    (version "1.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "httmock" version))
+        (sha256
+         (base32
+          "1zj1fcm0n6f0wr9mr0hmlqz9430fnr5cdwd5jkcvq9j44bnsrfz0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)); no tests
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (home-page "https://github.com/patrys/httmock";)
+    (synopsis "Mocking library for requests.")
+    (description "This package provides a library for replying fake data to
+Python software under test, when they make an HTTP query.")
+    (license license:asl2.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]