Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 gssapi, 7 pyasn1, 8 pycryptodomex, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "ldap3-bleeding-edge"; 14 version = "2.10.1.1337"; 15 pyproject = true; 16 17 src = fetchPypi { 18 pname = "ldap3_bleeding_edge"; 19 inherit version; 20 hash = "sha256-j4hzcqwOONol6YqY9Ldz9YphjPmacFoVyqUnMHW1aZk="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 cryptography 27 gssapi 28 pyasn1 29 pycryptodomex 30 ]; 31 32 pythonImportsCheck = [ "ldap3" ]; 33 34 # Tests require network access 35 doCheck = false; 36 37 meta = { 38 description = "Strictly RFC 4510 conforming LDAP V3 client library (bleeding edge)"; 39 homepage = "https://pypi.org/project/ldap3-bleeding-edge/"; 40 license = lib.licenses.gpl3Only; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}