2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
dnspython,
|
|
|
|
future,
|
|
|
|
ldap3,
|
|
|
|
pythonOlder,
|
2022-12-28 21:21:41 +00:00
|
|
|
}:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ldapdomaindump";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "0.9.4";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-28 21:21:41 +00:00
|
|
|
hash = "sha256-mdzaFwUKllSZZuU7yJ5x2mcAlNU9lUKzsNAZfQNeb1I=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dnspython
|
|
|
|
future
|
|
|
|
ldap3
|
|
|
|
];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
# requires ldap server
|
|
|
|
doCheck = false;
|
2022-12-28 21:21:41 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "ldapdomaindump" ];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Active Directory information dumper via LDAP";
|
|
|
|
homepage = "https://github.com/dirkjanm/ldapdomaindump/";
|
2022-12-28 21:21:41 +00:00
|
|
|
changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/v${version}";
|
2021-01-05 17:05:55 +00:00
|
|
|
license = licenses.mit;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
}
|