1{ lib, buildPythonPackage, fetchPypi, sanic, sanic-testing, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "Sanic-Auth";
5 version = "0.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198";
10 };
11
12 propagatedBuildInputs = [ sanic ];
13
14 checkInputs = [ pytestCheckHook sanic-testing ];
15
16 pythonImportsCheck = [ "sanic_auth" ];
17
18 meta = with lib; {
19 description = "Simple Authentication for Sanic";
20 homepage = "https://github.com/pyx/sanic-auth/";
21 license = licenses.bsdOriginal;
22 maintainers = [ maintainers.arnoldfarkas ];
23 };
24}