1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, pytest-asyncio
6}:
7
8buildPythonPackage rec {
9 pname = "sanic-routing";
10 version = "0.7.2";
11
12 src = fetchFromGitHub {
13 owner = "sanic-org";
14 repo = "sanic-routing";
15 rev = "v${version}";
16 hash = "sha256-MN6A8CtDVxj34eehr3UIwCT09VOfcruVX+/iImr1MgY=";
17 };
18
19 checkInputs = [ pytestCheckHook pytest-asyncio ];
20 pythonImportsCheck = [ "sanic_routing" ];
21
22 meta = with lib; {
23 description = "Core routing component for the Sanic web framework";
24 homepage = "https://github.com/sanic-org/sanic-routing";
25 license = licenses.mit;
26 maintainers = with maintainers; [ AluisioASG ];
27 };
28}