Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 533 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, pyasn1 }: 2 3buildPythonPackage rec { 4 pname = "ldap3"; 5 version = "2.8"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "59d1adcd5ead263387039e2a37d7cd772a2006b1cdb3ecfcbaab5192a601c515"; 10 }; 11 12 propagatedBuildInputs = [ pyasn1 ]; 13 14 doCheck = false; # requires network 15 16 meta = with stdenv.lib; { 17 homepage = "https://pypi.python.org/pypi/ldap3"; 18 description = "A strictly RFC 4510 conforming LDAP V3 pure Python client library"; 19 license = licenses.lgpl3; 20 }; 21}