at 23.05-pre 698 B view raw
1{ lib 2, aiomisc 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "caio"; 11 version = "0.9.8"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "mosquito"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-hUG5EaraoKj3D3K+Qm2Nm1AFe19qwRy/FnEb1SXWKDM="; 21 }; 22 23 checkInputs = [ 24 aiomisc 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "caio" 30 ]; 31 32 meta = with lib; { 33 description = "File operations with asyncio support"; 34 homepage = "https://github.com/mosquito/caio"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}