2019-09-22 08:39:13 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, dateutil, flask, pyjwt, werkzeug, pytest }:
|
2018-09-28 09:54:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-JWT-Extended";
|
2020-11-29 14:04:28 +00:00
|
|
|
version = "3.25.0";
|
2018-09-28 09:54:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:28 +00:00
|
|
|
sha256 = "b2e4dba91661e4697b30269106386c2b29e416a00d9ff66b26c462edddc10078";
|
2018-09-28 09:54:06 +00:00
|
|
|
};
|
|
|
|
|
2019-09-22 08:39:13 +00:00
|
|
|
propagatedBuildInputs = [ dateutil flask pyjwt werkzeug ];
|
2018-09-28 09:54:06 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "JWT extension for Flask";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://flask-jwt-extended.readthedocs.io/";
|
2018-09-28 09:54:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|