about summary refs log tree commit diff
path: root/pkgs/development/python-modules/requests-mock
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-09-05 12:59:38 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-09-05 12:59:38 -0700
commit341f65e60f8107b0435ad2b406f7f4b9e6255f11 (patch)
tree4fd479a03e006a1554804ee89f20de4cd14252ef /pkgs/development/python-modules/requests-mock
parent04c2622d07139a26fcbbb33df64683838796ab2b (diff)
pythonPackages.requests-mock: 1.5.2 -> 1.7.0
Diffstat (limited to 'pkgs/development/python-modules/requests-mock')
-rw-r--r--pkgs/development/python-modules/requests-mock/default.nix26
1 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/requests-mock/default.nix b/pkgs/development/python-modules/requests-mock/default.nix
index 3ea1bf58d8af2..9728639e0ef76 100644
--- a/pkgs/development/python-modules/requests-mock/default.nix
+++ b/pkgs/development/python-modules/requests-mock/default.nix
@@ -1,21 +1,33 @@
-{ buildPythonPackage, fetchPypi, python
-, mock, testrepository, testtools
-, requests, six }:
+{ lib, buildPythonPackage, fetchPypi, python
+, mock
+, purl
+, requests
+, six
+, testrepository
+, testtools
+}:
 
 buildPythonPackage rec {
   pname = "requests-mock";
-  version = "1.5.2";
+  version = "1.7.0";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb";
+    sha256 = "0ij6ir5cy0gpy5xw4sykxz320ndi26np6flx9yg9mimkv0nl1lw8";
   };
 
   patchPhase = ''
     sed -i 's@python@${python.interpreter}@' .testr.conf
   '';
 
-  checkInputs = [ mock testrepository testtools ];
-
   propagatedBuildInputs = [ requests six ];
+
+  checkInputs = [ mock purl testrepository testtools ];
+
+  meta = with lib; {
+    description = "Mock out responses from the requests package";
+    homepage = "https://requests-mock.readthedocs.io";
+    license = licenses.asl20;
+    maintainers = [ ];
+  };
 }