at 22.05-pre 43 lines 785 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, aiohttp 6, pytestCheckHook 7, pytest-aiohttp 8, pygments 9}: 10 11buildPythonPackage rec { 12 pname = "aiojobs"; 13 version = "0.3.0"; 14 format = "flit"; 15 disabled = pythonOlder "3.5"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-9mMdQtxDCPfYg6u9cNTpdvP8w1o7oejq5dSvSUCh4MM="; 20 }; 21 22 nativeBuildInputs = [ 23 pygments 24 ]; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 ]; 29 30 checkInputs = [ 31 pytestCheckHook 32 pytest-aiohttp 33 ]; 34 35 pythonImportsCheck = [ "aiojobs" ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/aio-libs/aiojobs"; 39 description = "Jobs scheduler for managing background task (asyncio)"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ cmcdragonkai ]; 42 }; 43}