at 23.05-pre 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, pytest-asyncio 6, pytestCheckHook 7, pythonOlder 8, twisted 9, zope_interface 10}: 11 12buildPythonPackage rec { 13 pname = "txaio"; 14 version = "22.2.1"; 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-LkWCtw8EsjRZCCVGhKmEIGwNm1DjB0okpMVauiHSTQE="; 20 }; 21 22 propagatedBuildInputs = [ 23 twisted 24 zope_interface 25 ]; 26 27 checkInputs = [ 28 mock 29 pytest-asyncio 30 pytestCheckHook 31 ]; 32 33 disabledTests = [ 34 # No real value 35 "test_sdist" 36 # Some tests seems out-dated and require additional data 37 "test_as_future" 38 "test_errback" 39 "test_create_future" 40 "test_callback" 41 "test_immediate_result" 42 "test_cancel" 43 ]; 44 45 pythonImportsCheck = [ "txaio" ]; 46 47 meta = with lib; { 48 description = "Utilities to support code that runs unmodified on Twisted and asyncio"; 49 homepage = "https://github.com/crossbario/txaio"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ ]; 52 }; 53}