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.1338";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "ldap3_bleeding_edge";
19 inherit version;
20 hash = "sha256-7j5W1C0scvjm6j3eueNomdTRd+Uzishhr2U1bb1gB3s=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 cryptography
27 pyasn1
28 pycryptodomex
29 ];
30
31 optional-dependencies = {
32 kerberos = [ gssapi ];
33 };
34
35 pythonImportsCheck = [ "ldap3" ];
36
37 # Tests require network access
38 doCheck = false;
39
40 meta = {
41 description = "Strictly RFC 4510 conforming LDAP V3 client library (bleeding edge)";
42 homepage = "https://pypi.org/project/ldap3-bleeding-edge/";
43 license = lib.licenses.gpl3Only;
44 maintainers = with lib.maintainers; [ fab ];
45 };
46}