1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 flask, 7 python-ldap, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "flask-simpleldap"; 13 version = "2.0.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "alexferl"; 20 repo = "flask-simpleldap"; 21 tag = "v${version}"; 22 hash = "sha256-WcedTtEwaSc3BYFE3L0FZrtKKdbwk7r3qSPP8evtYlc="; 23 }; 24 25 build-system = [ 26 setuptools 27 ]; 28 dependencies = [ 29 flask 30 python-ldap 31 ]; 32 33 pythonImportsCheck = [ "flask_simpleldap" ]; 34 35 meta = with lib; { 36 description = "LDAP authentication extension for Flask"; 37 homepage = "https://github.com/alexferl/flask-simpleldap"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ kip93 ]; 40 }; 41}