ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / geventhttpclient / default.nix
blob62568eb6f377d59c9701a8ddeb7b9032baf56ba7
1 { lib
2 , brotli
3 , buildPythonPackage
4 , certifi
5 , dpkt
6 , fetchPypi
7 , gevent
8 , pytestCheckHook
9 , pythonOlder
10 , six
11 , urllib3
14 buildPythonPackage rec {
15   pname = "geventhttpclient";
16   version = "2.0.8";
17   format = "setuptools";
19   disabled = pythonOlder "3.6";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-X3gsQZZD90vk0JGMDStjlW723ceiEn8Hy7gDOnWrNm8=";
24   };
26   propagatedBuildInputs = [
27     brotli
28     certifi
29     gevent
30     six
31   ];
33   checkInputs = [
34     dpkt
35     pytestCheckHook
36     urllib3
37   ];
39   __darwinAllowLocalNetworking = true;
41   disabledTests = [
42     # socket.gaierror: [Errno -3] Temporary failure in name resolution
43     "test_client_simple"
44     "test_client_without_leading_slas"
45     "test_request_with_headers"
46     "test_response_context_manager"
47     "test_client_ssl"
48     "test_ssl_fail_invalid_certificate"
49     "test_multi_queries_greenlet_safe"
50   ];
52   pythonImportsCheck = [
53     "geventhttpclient"
54   ];
56   meta = with lib; {
57     homepage = "https://github.com/geventhttpclient/geventhttpclient";
58     description = "High performance, concurrent HTTP client library using gevent";
59     license = licenses.mit;
60     maintainers = with maintainers; [ koral ];
61   };