ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
46 lines
804 B
Nix
46 lines
804 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, pyjwt
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
, pythonOlder
|
|
, werkzeug
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-jwt-extended";
|
|
version = "4.4.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "Flask-JWT-Extended";
|
|
inherit version;
|
|
hash = "sha256-9YK7qYD89yirclDbtvvcqNTgdOJOspFbARhDdv//mMc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
pyjwt
|
|
python-dateutil
|
|
werkzeug
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"flask_jwt_extended"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "JWT extension for Flask";
|
|
homepage = "https://flask-jwt-extended.readthedocs.io/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
};
|
|
}
|