14 buildPythonPackage rec {
18 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
26 hash = "sha256-h/PbwQ69fDcmUCazMtxXP1iE0fE1on+WoK+wYgQ9jLs=";
38 passthru.optional-dependencies = {
40 tornado = [ tornado ];
49 # requires running LDAP server
50 "tests/test_asyncio.py"
51 "tests/test_ldapclient.py"
52 "tests/test_ldapconnection.py"
53 "tests/test_ldapentry.py"
54 "tests/test_ldapreference.py"
59 # requires running LDAP server
60 "test_set_async_connect"
63 pythonImportsCheck = [ "bonsai" ];
66 changelog = "https://github.com/noirello/bonsai/blob/${src.rev}/CHANGELOG.rst";
67 description = "Python 3 module for accessing LDAP directory servers";
68 homepage = "https://github.com/noirello/bonsai";
69 license = lib.licenses.mit;
70 maintainers = with lib.maintainers; [ dotlambda ];