1{ 2 lib, 3 buildPythonPackage, 4 dnspython, 5 fetchFromGitHub, 6 ldap3, 7 pyasn1, 8 pycryptodome, 9 pythonOlder, 10 pytz, 11 setuptools, 12 six, 13}: 14 15buildPythonPackage rec { 16 pname = "ms-active-directory"; 17 version = "1.14.1"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.10"; 21 22 src = fetchFromGitHub { 23 owner = "zorn96"; 24 repo = "ms_active_directory"; 25 tag = "v${version}"; 26 hash = "sha256-ZFIeG95+G9ofk54bYZpqu8uVfzjqsOrwWlIZvQgIWRI="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 dnspython 33 ldap3 34 pyasn1 35 pycryptodome 36 pytz 37 six 38 ]; 39 40 # Module has no tests 41 doCheck = false; 42 43 pythonImportsCheck = [ "ms_active_directory" ]; 44 45 meta = with lib; { 46 description = "Python module for integrating with Microsoft Active Directory domains"; 47 homepage = "https://github.com/zorn96/ms_active_directory/"; 48 changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}