Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 21 lines 523 B view raw
1{ lib, fetchPypi, buildPythonPackage, pyasn1 }: 2 3buildPythonPackage rec { 4 pname = "ldap3"; 5 version = "2.9"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "18c3ee656a6775b9b0d60f7c6c5b094d878d1d90fc03d56731039f0a4b546a91"; 10 }; 11 12 propagatedBuildInputs = [ pyasn1 ]; 13 14 doCheck = false; # requires network 15 16 meta = with 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}