From 67d8fed633fbbefa33e22a7997ffacc59eae440c Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 2 Jul 2023 02:27:46 -0700 Subject: [PATCH] python310Packages.requests-mock: 1.10.0 -> 1.11.0 --- .../python-modules/requests-mock/default.nix | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/requests-mock/default.nix b/pkgs/development/python-modules/requests-mock/default.nix index 031bf93faa6f4..4e72ce67364ac 100644 --- a/pkgs/development/python-modules/requests-mock/default.nix +++ b/pkgs/development/python-modules/requests-mock/default.nix @@ -1,33 +1,40 @@ -{ lib, buildPythonPackage, fetchPypi, python -, mock +{ lib +, buildPythonPackage +, fetchPypi +, fixtures , purl +, pytestCheckHook +, python , requests +, requests-futures , six -, testrepository , testtools -, pytest }: buildPythonPackage rec { pname = "requests-mock"; - version = "1.10.0"; + version = "1.11.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-WcnDJBmp+xroPsJC2Y6InEW9fXpl1IN1zCQ+wIRBZYs="; + hash = "sha256-7xC1crSJpfKOCbcIaXIIxKOyuJ74Cp8BWENA6jV+w8Q="; }; - patchPhase = '' - sed -i 's@python@${python.interpreter}@' .testr.conf - ''; - propagatedBuildInputs = [ requests six ]; - nativeCheckInputs = [ mock purl testrepository testtools pytest ]; + nativeCheckInputs = [ + fixtures + purl + pytestCheckHook + requests-futures + testtools + ]; meta = with lib; { description = "Mock out responses from the requests package"; homepage = "https://requests-mock.readthedocs.io"; + changelog = "https://github.com/jamielennox/requests-mock/releases/tag/${version}"; license = licenses.asl20; maintainers = [ ]; };