Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 59 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, brotli, buildPythonPackage, certifi, dpkt, fetchFromGitHub, gevent, pytestCheckHook, setuptools, stdenv, urllib3,}:
buildPythonPackage rec { pname = "geventhttpclient"; version = "2.3.7"; pyproject = true;
src = fetchFromGitHub { owner = "geventhttpclient"; repo = "geventhttpclient"; tag = version; # TODO: unvendor llhttp fetchSubmodules = true; hash = "sha256-vca2uCQ1S21xQmAXdpLhI0DFZYUSyKhSkvETa2VqbkA="; };
build-system = [ setuptools ];
dependencies = [ brotli certifi gevent urllib3 ];
nativeCheckInputs = [ dpkt pytestCheckHook ];
# lots of: [Errno 48] Address already in use: ('127.0.0.1', 54323) doCheck = !stdenv.hostPlatform.isDarwin;
__darwinAllowLocalNetworking = true;
disabledTestMarks = [ "network" ];
pythonImportsCheck = [ "geventhttpclient" ];
meta = { homepage = "https://github.com/geventhttpclient/geventhttpclient"; description = "High performance, concurrent HTTP client library using gevent"; changelog = "https://github.com/geventhttpclient/geventhttpclient/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ koral ]; };}