2021-01-07 12:40:40 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, sanic, pytestCheckHook }:
|
2020-01-27 07:46:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Sanic-Auth";
|
2021-01-07 12:40:40 +00:00
|
|
|
version = "0.3.0";
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-27 07:46:04 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-07 12:40:40 +00:00
|
|
|
sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198";
|
2020-01-27 07:46:04 +00:00
|
|
|
};
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-27 07:46:04 +00:00
|
|
|
propagatedBuildInputs = [ sanic ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2021-01-07 12:40:40 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2021-01-06 10:35:45 +00:00
|
|
|
pythonImportsCheck = [ "sanic_auth" ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-27 07:46:04 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple Authentication for Sanic";
|
|
|
|
homepage = "https://github.com/pyx/sanic-auth/";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|