Files
nixpkgs/pkgs/development/python-modules/ldapdomaindump/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

44 lines
936 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
dnspython,
ldap3,
pycryptodome,
setuptools,
}:
buildPythonPackage rec {
pname = "ldapdomaindump";
version = "0.10.0-unstable-2025-04-06";
pyproject = true;
src = fetchFromGitHub {
owner = "dirkjanm";
repo = "ldapdomaindump";
rev = "d559463eb29857f2660bf3867bfb9f8610d1ddb1";
hash = "sha256-gb/3gtXPQ86bkvunvj1wonxYAFHKkCh2H5dmSNTgz5g=";
};
build-system = [ setuptools ];
dependencies = [
dnspython
ldap3
pycryptodome
];
# Tests require LDAP server
doCheck = false;
pythonImportsCheck = [ "ldapdomaindump" ];
meta = {
description = "Active Directory information dumper via LDAP";
homepage = "https://github.com/dirkjanm/ldapdomaindump/";
changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/${src.rev}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}