Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 dnspython, 5 fetchFromGitHub, 6 ldap3, 7 pyasn1, 8 pycryptodome, 9 pythonOlder, 10 pytz, 11 six, 12}: 13 14buildPythonPackage rec { 15 pname = "ms-active-directory"; 16 version = "1.13.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "zorn96"; 23 repo = "ms_active_directory"; 24 rev = "refs/tags/v${version}"; 25 hash = "sha256-+wfhtEGuC1R5jbEnWm4mDHIR096KKEcG/K8SuItwjGk="; 26 }; 27 28 propagatedBuildInputs = [ 29 dnspython 30 ldap3 31 pyasn1 32 pycryptodome 33 pytz 34 six 35 ]; 36 37 # Module has no tests 38 doCheck = false; 39 40 pythonImportsCheck = [ "ms_active_directory" ]; 41 42 meta = with lib; { 43 description = "Python module for integrating with Microsoft Active Directory domains"; 44 homepage = "https://github.com/zorn96/ms_active_directory/"; 45 changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}"; 46 license = with licenses; [ mit ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}