1{ lib, buildPythonPackage, fetchPypi, python-dateutil, flask, pyjwt, werkzeug, pytest }:
2
3buildPythonPackage rec {
4 pname = "Flask-JWT-Extended";
5 version = "4.3.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "ad6977b07c54e51c13b5981afc246868b9901a46715d9b9827898bfd916aae88";
10 };
11
12 propagatedBuildInputs = [ python-dateutil flask pyjwt werkzeug ];
13 checkInputs = [ pytest ];
14
15 checkPhase = ''
16 pytest tests/
17 '';
18
19 meta = with lib; {
20 description = "JWT extension for Flask";
21 homepage = "https://flask-jwt-extended.readthedocs.io/";
22 license = licenses.mit;
23 maintainers = with maintainers; [ gerschtli ];
24 };
25}