Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / requests-mock / default.nix
blob4e72ce67364ac975a53fab1cc4649885b4f34cb5
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fixtures
5 , purl
6 , pytestCheckHook
7 , python
8 , requests
9 , requests-futures
10 , six
11 , testtools
14 buildPythonPackage rec {
15   pname = "requests-mock";
16   version = "1.11.0";
17   format = "setuptools";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-7xC1crSJpfKOCbcIaXIIxKOyuJ74Cp8BWENA6jV+w8Q=";
22   };
24   propagatedBuildInputs = [ requests six ];
26   nativeCheckInputs = [
27     fixtures
28     purl
29     pytestCheckHook
30     requests-futures
31     testtools
32   ];
34   meta = with lib; {
35     description = "Mock out responses from the requests package";
36     homepage = "https://requests-mock.readthedocs.io";
37     changelog = "https://github.com/jamielennox/requests-mock/releases/tag/${version}";
38     license = licenses.asl20;
39     maintainers = [ ];
40   };