Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sanic-routing / default.nix
blobf0e09c73862fccf82f5f9990c71c1e922e51c8c1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pytest-asyncio
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "sanic-routing";
11   version = "23.12.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-IUubPd6mqtCfY4ruI/8wkFcAcS0xXHWbe9RzDac5kRc=";
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   };