Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sanic-routing / default.nix
blobc9402b30b125e206a1db071f9c429cbf53d45178
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pytest-asyncio
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "sanic-routing";
11   version = "23.6.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
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   };
23   nativeCheckInputs = [
24     pytest-asyncio
25     pytestCheckHook
26   ];
28   pythonImportsCheck = [
29     "sanic_routing"
30   ];
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   };