summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authornyanloutre <paul@nyanlout.re>2018-11-04 12:47:22 +0100
committernyanloutre <paul@nyanlout.re>2018-11-04 12:47:22 +0100
commit1ee4c6451140b4be277afce6d7d6c50adcdc1e59 (patch)
treea0e96a2c40945b4d01bf83febbbdd12a60add60d /pkgs/development/python-modules
parentc70ad805d216f18f91d2b0786b4ce248917153bb (diff)
downloadnixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar.gz
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar.bz2
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar.lz
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar.xz
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.tar.zst
nixlib-1ee4c6451140b4be277afce6d7d6c50adcdc1e59.zip
pythonPackages.httmock: init at 1.2.6
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/httmock/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httmock/default.nix b/pkgs/development/python-modules/httmock/default.nix
new file mode 100644
index 000000000000..b50753c55864
--- /dev/null
+++ b/pkgs/development/python-modules/httmock/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
+
+buildPythonPackage rec {
+  pname   = "httmock";
+  version = "1.2.6";
+
+  src = fetchFromGitHub {
+    owner = "patrys";
+    repo = "httmock";
+    rev = version;
+    sha256 = "0iya8qsb2jm03s9p6sf1yzgm1irxl3dcq0k0a9ygl0skzjz5pvab";
+  };
+
+  checkInputs = [ requests ];
+
+  meta = with stdenv.lib; {
+    description = "A mocking library for requests";
+    homepage    = https://github.com/patrys/httmock;
+    license     = licenses.asl20;
+    maintainers = with maintainers; [ nyanloutre ];
+  };
+}