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