ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / httmock / default.nix
blob7928189c7cd174615c7c48d46aa6ffeafaac992a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "httmock";
10   version = "1.4.0";
12   src = fetchFromGitHub {
13     owner = "patrys";
14     repo = "httmock";
15     rev = version;
16     sha256 = "sha256-yid4vh1do0zqVzd1VV7gc+Du4VPrkeGFsDHqNbHL28I=";
17   };
19   checkInputs = [
20     requests
21     pytestCheckHook
22   ];
24   pytestFlagsArray = [ "tests.py" ];
26   pythonImportsCheck = [ "httmock" ];
28   meta = with lib; {
29     description = "A mocking library for requests";
30     homepage = "https://github.com/patrys/httmock";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ nyanloutre ];
33   };