pythonPackages.flask-jwt-extended: init at 3.13.1
This commit is contained in:
parent
d994f1cfd4
commit
50636fda52
2 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, flask, pyjwt, werkzeug, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-JWT-Extended";
|
||||
version = "3.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "10qz3ljr2kpd93al2km6iijxp23z33kvvwd0y5bc840f86b4mra8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask pyjwt werkzeug ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "JWT extension for Flask";
|
||||
homepage = https://flask-jwt-extended.readthedocs.io/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
};
|
||||
}
|
|
@ -5278,6 +5278,8 @@ in {
|
|||
|
||||
flask_elastic = callPackage ../development/python-modules/flask-elastic { };
|
||||
|
||||
flask-jwt-extended = callPackage ../development/python-modules/flask-jwt-extended { };
|
||||
|
||||
flask-limiter = callPackage ../development/python-modules/flask-limiter { };
|
||||
|
||||
flask_login = callPackage ../development/python-modules/flask-login { };
|
||||
|
|
Loading…
Reference in a new issue