1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 dnspython,
6 future,
7 ldap3,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "ldapdomaindump";
13 version = "0.9.4";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-mdzaFwUKllSZZuU7yJ5x2mcAlNU9lUKzsNAZfQNeb1I=";
21 };
22
23 propagatedBuildInputs = [
24 dnspython
25 future
26 ldap3
27 ];
28
29 # requires ldap server
30 doCheck = false;
31
32 pythonImportsCheck = [ "ldapdomaindump" ];
33
34 meta = with lib; {
35 description = "Active Directory information dumper via LDAP";
36 homepage = "https://github.com/dirkjanm/ldapdomaindump/";
37 changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/v${version}";
38 license = licenses.mit;
39 maintainers = with maintainers; [ ];
40 };
41}