at 24.11-pre 1.2 kB view raw
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 ciso8601, 7 click, 8 fetchFromGitHub, 9 mashumaro, 10 poetry-core, 11 pytest-asyncio, 12 pytestCheckHook, 13 pythonOlder, 14 yarl, 15}: 16 17buildPythonPackage rec { 18 pname = "aiortm"; 19 version = "0.8.13"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; 23 24 src = fetchFromGitHub { 25 owner = "MartinHjelmare"; 26 repo = "aiortm"; 27 rev = "refs/tags/v${version}"; 28 hash = "sha256-JoolmxZFN0UG8wAMxMAYL8APFjpEcMECirCKUA/UBlY="; 29 }; 30 31 postPatch = '' 32 substituteInPlace pyproject.toml \ 33 --replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" "" 34 ''; 35 36 build-system = [ poetry-core ]; 37 38 dependencies = [ 39 aiohttp 40 ciso8601 41 click 42 mashumaro 43 yarl 44 ]; 45 46 nativeCheckInputs = [ 47 aioresponses 48 pytest-asyncio 49 pytestCheckHook 50 ]; 51 52 pythonImportsCheck = [ "aiortm" ]; 53 54 meta = with lib; { 55 description = "Library for the Remember the Milk API"; 56 homepage = "https://github.com/MartinHjelmare/aiortm"; 57 changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; 58 license = with licenses; [ asl20 ]; 59 maintainers = with maintainers; [ fab ]; 60 mainProgram = "aiortm"; 61 }; 62}