2019-09-22 10:39:13 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, dateutil, flask, pyjwt, werkzeug, pytest }:
|
2018-09-28 11:54:06 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-JWT-Extended";
|
2019-10-23 14:13:33 +02:00
|
|
|
version = "3.24.0";
|
2018-09-28 11:54:06 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-23 14:13:33 +02:00
|
|
|
sha256 = "1znqjp780nrp94hjcrcx0945izzl3zsrqkmdac44d2fmlnbdp2by";
|
2018-09-28 11:54:06 +02:00
|
|
|
};
|
|
|
|
|
2019-09-22 10:39:13 +02:00
|
|
|
propagatedBuildInputs = [ dateutil flask pyjwt werkzeug ];
|
2018-09-28 11:54:06 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|