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-09-22 09:39:13 +01:00
|
|
|
version = "3.23.0";
|
2018-09-28 10:54:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-22 09:39:13 +01:00
|
|
|
sha256 = "05nf94dp80i68gs61pf67qj1y6i56jgdxmibqmns5wz6z33fi7wj";
|
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";
|
|
|
|
homepage = https://flask-jwt-extended.readthedocs.io/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|