Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 dnspython,
6 ldap3,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "ldapdomaindump";
12 version = "0.10.0-unstable-2025-04-06";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "dirkjanm";
17 repo = "ldapdomaindump";
18 rev = "d559463eb29857f2660bf3867bfb9f8610d1ddb1";
19 hash = "sha256-gb/3gtXPQ86bkvunvj1wonxYAFHKkCh2H5dmSNTgz5g=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 dnspython
26 ldap3
27 ];
28
29 # Tests require 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/${src.rev}";
38 license = licenses.mit;
39 maintainers = with maintainers; [ fab ];
40 };
41}