biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / sanic-routing / default.nix
blobc542076886d53e1a53b1b151bbe4f1511f322b63
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pytest-asyncio,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "sanic-routing";
12   version = "23.12.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "sanic-org";
19     repo = "sanic-routing";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-IUubPd6mqtCfY4ruI/8wkFcAcS0xXHWbe9RzDac5kRc=";
22   };
24   nativeCheckInputs = [
25     pytest-asyncio
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "sanic_routing" ];
31   meta = with lib; {
32     description = "Core routing component for the Sanic web framework";
33     homepage = "https://github.com/sanic-org/sanic-routing";
34     changelog = "https://github.com/sanic-org/sanic-routing/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = [ ];
37   };