pythonPackages.sanic-auth: init at 0.2.0

This commit is contained in:
Farkas, Arnold 2020-01-27 02:46:04 -05:00 committed by Jon
parent c6ec7b613a
commit ebf837e07f
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, pytest, sanic }:
buildPythonPackage rec {
pname = "Sanic-Auth";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b7cb9e93296c035ada0aa1ebfb33f9f7b62f7774c519e374b7fe703ff73589cb";
};
propagatedBuildInputs = [ sanic ];
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Simple Authentication for Sanic";
homepage = "https://github.com/pyx/sanic-auth/";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}

View File

@ -1347,6 +1347,8 @@ in {
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
sanic-auth = callPackage ../development/python-modules/sanic-auth { };
seekpath = callPackage ../development/python-modules/seekpath { };
selectors2 = callPackage ../development/python-modules/selectors2 { };