15 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
27 hash = "sha256-SAP/YeWqow5dqXlXDzjnTWIfJhMwVeZSSUfWr1Mgmng=";
30 build-system = [ setuptools ];
37 optional-dependencies = {
39 tornado = [ tornado ];
43 nativeCheckInputs = [ pytestCheckHook ];
46 # requires running LDAP server
47 "tests/test_asyncio.py"
48 "tests/test_ldapclient.py"
49 "tests/test_ldapconnection.py"
50 "tests/test_ldapentry.py"
51 "tests/test_ldapreference.py"
56 # requires running LDAP server
57 "test_set_async_connect"
60 pythonImportsCheck = [ "bonsai" ];
63 changelog = "https://github.com/noirello/bonsai/blob/${src.rev}/CHANGELOG.rst";
64 description = "Python 3 module for accessing LDAP directory servers";
65 homepage = "https://github.com/noirello/bonsai";
66 license = lib.licenses.mit;
67 maintainers = with lib.maintainers; [ dotlambda ];