at 25.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 twisted, 6 passlib, 7 pyparsing, 8 six, 9 zope-interface, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "ldaptor"; 15 version = "21.2.0"; 16 format = "setuptools"; 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-jEnrGTddSqs+W4NYYGFODLF+VrtaIOGHSAj6W+xno1g="; 22 }; 23 24 propagatedBuildInputs = [ 25 passlib 26 pyparsing 27 six 28 twisted 29 zope-interface 30 ] ++ twisted.optional-dependencies.tls; 31 32 nativeCheckInputs = [ twisted ]; 33 34 # Test creates an excessive amount of temporary files (order of millions). 35 # Cleaning up those files already took over 15 hours already on my zfs 36 # filesystem and is not finished yet. 37 doCheck = false; 38 39 checkPhase = '' 40 trial -j$NIX_BUILD_CORES ldaptor 41 ''; 42 43 meta = with lib; { 44 description = "Pure-Python Twisted library for LDAP"; 45 homepage = "https://github.com/twisted/ldaptor"; 46 license = licenses.mit; 47 maintainers = [ ]; 48 }; 49}