@@ -0,0 +1,28 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pytestCheckHook
5+, pytest-asyncio
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "sanic-routing";
10+ version = "0.6.2";
11+
12+ src = fetchFromGitHub {
13+ owner = "sanic-org";
14+ repo = "sanic-routing";
15+ rev = "v${version}";
16+ hash = "sha256-ZMl8PB9E401pUfUJ4tW7nBx1TgPQQtx9erVni3zP+lo=";
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+}