1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pytest-asyncio 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "sanic-routing"; 11 version = "23.6.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "sanic-org"; 18 repo = "sanic-routing"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-ual/vjL3M/nqlaRttJPoBcOYE3L/OAahbBLceUEVLXc="; 21 }; 22 23 nativeCheckInputs = [ 24 pytest-asyncio 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "sanic_routing" 30 ]; 31 32 meta = with lib; { 33 description = "Core routing component for the Sanic web framework"; 34 homepage = "https://github.com/sanic-org/sanic-routing"; 35 changelog = "https://github.com/sanic-org/sanic-routing/releases/tag/v${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ AluisioASG ]; 38 }; 39}