Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 65 lines 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 pytest-cov-stub, 13 pytestCheckHook, 14 pythonOlder, 15 rich, 16 typer, 17 yarl, 18}: 19 20buildPythonPackage rec { 21 pname = "aiortm"; 22 version = "0.9.44"; 23 pyproject = true; 24 25 disabled = pythonOlder "3.12"; 26 27 src = fetchFromGitHub { 28 owner = "MartinHjelmare"; 29 repo = "aiortm"; 30 rev = "refs/tags/v${version}"; 31 hash = "sha256-m62VEmrmczNxBLBEmLKP3vEi14BuwLA2WwtLOU436hY="; 32 }; 33 34 pythonRelaxDeps = [ "typer" ]; 35 36 build-system = [ poetry-core ]; 37 38 dependencies = [ 39 aiohttp 40 ciso8601 41 click 42 mashumaro 43 rich 44 typer 45 yarl 46 ]; 47 48 nativeCheckInputs = [ 49 aioresponses 50 pytest-asyncio 51 pytest-cov-stub 52 pytestCheckHook 53 ]; 54 55 pythonImportsCheck = [ "aiortm" ]; 56 57 meta = with lib; { 58 description = "Library for the Remember the Milk API"; 59 homepage = "https://github.com/MartinHjelmare/aiortm"; 60 changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; 61 license = with licenses; [ asl20 ]; 62 maintainers = with maintainers; [ fab ]; 63 mainProgram = "aiortm"; 64 }; 65}