1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 blinker, 6 flask, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "flask-principal"; 13 version = "0.4.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "pallets-eco"; 18 repo = "flask-principal"; 19 tag = version; 20 hash = "sha256-E9urzZc7/QtzAohSNAJsQtykrplb+MC189VGZI5kmEE="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 flask 27 blinker 28 ]; 29 30 pythonImportsCheck = [ "flask_principal" ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 enabledTestPaths = [ "test_principal.py" ]; 35 36 meta = with lib; { 37 homepage = "http://packages.python.org/Flask-Principal/"; 38 description = "Identity management for flask"; 39 license = licenses.mit; 40 maintainers = [ ]; 41 }; 42}