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