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