1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "curio-compat"; 11 version = "1.6.7"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "klen"; 16 repo = "curio"; 17 tag = version; 18 hash = "sha256-Crd9r4Icwga85wvtXaePbE56R192o+FXU9Zn+Lc7trI="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "curio" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 disabledTests = [ 28 # contacts google.com 29 "test_ssl_outgoing" 30 ]; 31 32 meta = { 33 description = "Coroutine-based library for concurrent systems programming"; 34 homepage = "https://github.com/klen/curio"; 35 license = lib.licenses.bsd3; 36 maintainers = with lib.maintainers; [ dotlambda ]; 37 }; 38}