2021-07-03 12:37:24 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python-dateutil, flask, pyjwt, werkzeug, pytest }:
|
2018-09-28 10:54:06 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-JWT-Extended";
|
2021-08-26 20:32:34 +01:00
|
|
|
version = "4.3.0";
|
2018-09-28 10:54:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:34 +01:00
|
|
|
sha256 = "6e2b40d548b9dfc6051740c4552c097ac38e514e500c16c682d9a533d17ca418";
|
2018-09-28 10:54:06 +01:00
|
|
|
};
|
|
|
|
|
2021-07-03 12:37:24 +01:00
|
|
|
propagatedBuildInputs = [ python-dateutil flask pyjwt werkzeug ];
|
2018-09-28 10:54:06 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-28 10:54:06 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|