python3Packages.sanic-routing: init at 0.6.2

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2021-04-27 10:28:30 -03:00
parent 5b971598f0
commit 550bb02269
No known key found for this signature in database
GPG key ID: DA6EA2FACDB1CBD2
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "sanic-routing";
version = "0.6.2";
src = fetchFromGitHub {
owner = "sanic-org";
repo = "sanic-routing";
rev = "v${version}";
hash = "sha256-ZMl8PB9E401pUfUJ4tW7nBx1TgPQQtx9erVni3zP+lo=";
};
checkInputs = [ pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [ "sanic_routing" ];
meta = with lib; {
description = "Core routing component for the Sanic web framework";
homepage = "https://github.com/sanic-org/sanic-routing";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}

View file

@ -7205,7 +7205,7 @@ in {
sanic-auth = callPackage ../development/python-modules/sanic-auth { };
sanic = callPackage ../development/python-modules/sanic { };
sanic-routing = callPackage ../development/python-modules/sanic-routing { };
sapi-python-client = callPackage ../development/python-modules/sapi-python-client { };