lol

python310Packages.requests-mock: 1.10.0 -> 1.11.0

+18 -11
+18 -11
pkgs/development/python-modules/requests-mock/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, python 2 - , mock 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fixtures 3 5 , purl 6 + , pytestCheckHook 7 + , python 4 8 , requests 9 + , requests-futures 5 10 , six 6 - , testrepository 7 11 , testtools 8 - , pytest 9 12 }: 10 13 11 14 buildPythonPackage rec { 12 15 pname = "requests-mock"; 13 - version = "1.10.0"; 16 + version = "1.11.0"; 17 + format = "setuptools"; 14 18 15 19 src = fetchPypi { 16 20 inherit pname version; 17 - hash = "sha256-WcnDJBmp+xroPsJC2Y6InEW9fXpl1IN1zCQ+wIRBZYs="; 21 + hash = "sha256-7xC1crSJpfKOCbcIaXIIxKOyuJ74Cp8BWENA6jV+w8Q="; 18 22 }; 19 23 20 - patchPhase = '' 21 - sed -i 's@python@${python.interpreter}@' .testr.conf 22 - ''; 23 - 24 24 propagatedBuildInputs = [ requests six ]; 25 25 26 - nativeCheckInputs = [ mock purl testrepository testtools pytest ]; 26 + nativeCheckInputs = [ 27 + fixtures 28 + purl 29 + pytestCheckHook 30 + requests-futures 31 + testtools 32 + ]; 27 33 28 34 meta = with lib; { 29 35 description = "Mock out responses from the requests package"; 30 36 homepage = "https://requests-mock.readthedocs.io"; 37 + changelog = "https://github.com/jamielennox/requests-mock/releases/tag/${version}"; 31 38 license = licenses.asl20; 32 39 maintainers = [ ]; 33 40 };