mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
26 lines
620 B
Nix
26 lines
620 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, flask, pyjwt, werkzeug, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-JWT-Extended";
|
|
version = "3.14.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "133s9js7j1b2m6vv56a2xd9in0rmx5zrdp4r005qwbvr5qxld39s";
|
|
};
|
|
|
|
propagatedBuildInputs = [ flask pyjwt werkzeug ];
|
|
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 ];
|
|
};
|
|
}
|