1{
2 lib,
3 asn1crypto,
4 asyauth-bad,
5 asysocks,
6 buildPythonPackage,
7 fetchFromGitHub,
8 minikerberos-bad,
9 prompt-toolkit,
10 setuptools,
11 tabulate,
12 tqdm,
13 unicrypto,
14 wcwidth,
15 winacl,
16}:
17
18buildPythonPackage rec {
19 pname = "msldap-bad";
20 version = "0.5.10";
21 pyproject = true;
22
23 src = fetchFromGitHub {
24 owner = "CravateRouge";
25 repo = "msldap-bAD";
26 tag = version;
27 hash = "sha256-CnHXEE1tdIXv+Qb3pS+cNxVtcTOVaq6mrQxu3wr1Xxo=";
28 };
29
30 build-system = [ setuptools ];
31
32 dependencies = [
33 asyauth-bad
34 asn1crypto
35 asysocks
36 minikerberos-bad
37 prompt-toolkit
38 tabulate
39 tqdm
40 unicrypto
41 wcwidth
42 winacl
43 ];
44
45 # Module doesn't have tests
46 doCheck = false;
47
48 pythonImportsCheck = [ "msldap" ];
49
50 meta = {
51 description = "LDAP library for auditing MS AD";
52 homepage = "https://github.com/CravateRouge/msldap-bAD";
53 changelog = "https://github.com/CravateRouge/asyauth-bAD/releases/tag/${src.tag}";
54 license = lib.licenses.mit;
55 maintainers = with lib.maintainers; [ ];
56 };
57}