15 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 hash = "sha256-UR/Ds5famD8kuDa6IIIyEv45eJuAcoygXef8XE+5Cxk=";
39 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
43 passthru.optional-dependencies = {
45 tornado = [ tornado ];
54 # requires running LDAP server
55 "tests/test_asyncio.py"
56 "tests/test_ldapclient.py"
57 "tests/test_ldapconnection.py"
58 "tests/test_ldapentry.py"
59 "tests/test_ldapreference.py"
64 # requires running LDAP server
65 "test_set_async_connect"
68 pythonImportsCheck = [ "bonsai" ];
71 changelog = "https://github.com/noirello/bonsai/blob/${src.rev}/CHANGELOG.rst";
72 description = "Python 3 module for accessing LDAP directory servers";
73 homepage = "https://github.com/noirello/bonsai";
74 license = lib.licenses.mit;
75 maintainers = with lib.maintainers; [ dotlambda ];