depot/third_party/nixpkgs/pkgs/development/python-modules/flask-jwt-extended/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

46 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flask
, pyjwt
, pytestCheckHook
, python-dateutil
, pythonOlder
, werkzeug
}:
buildPythonPackage rec {
pname = "flask-jwt-extended";
version = "4.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Flask-JWT-Extended";
inherit version;
hash = "sha256-CYh/o3K91Omrtg2KcVWpZr8Rt0mZVUQQsgl1gCrsJ34=";
};
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 ];
};
}