Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 25 lines 642 B view raw
1{ lib, buildPythonPackage, fetchPypi, dateutil, flask, pyjwt, werkzeug, pytest }: 2 3buildPythonPackage rec { 4 pname = "Flask-JWT-Extended"; 5 version = "4.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "77ca23f23e80480ea42b9c1d9b0fca214e08db7192583e782c2421416b4a4655"; 10 }; 11 12 propagatedBuildInputs = [ 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}