From 26839daeca4d151d77628625603e7a8eaf4e6787 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 11 Jul 2025 11:35:53 +0200 Subject: [PATCH] python313Packages.ldapdomaindump: refactor - adopt --- .../python-modules/ldapdomaindump/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/ldapdomaindump/default.nix b/pkgs/development/python-modules/ldapdomaindump/default.nix index a762297e9951..b81b2dddafa8 100644 --- a/pkgs/development/python-modules/ldapdomaindump/default.nix +++ b/pkgs/development/python-modules/ldapdomaindump/default.nix @@ -4,15 +4,13 @@ fetchFromGitHub, dnspython, ldap3, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "ldapdomaindump"; version = "0.10.0-unstable-2025-04-06"; - format = "setuptools"; - - disabled = pythonOlder "3.6"; + pyproject = true; src = fetchFromGitHub { owner = "dirkjanm"; @@ -21,12 +19,14 @@ buildPythonPackage rec { hash = "sha256-gb/3gtXPQ86bkvunvj1wonxYAFHKkCh2H5dmSNTgz5g="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ dnspython ldap3 ]; - # requires ldap server + # Tests require LDAP server doCheck = false; pythonImportsCheck = [ "ldapdomaindump" ]; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = with lib; { description = "Active Directory information dumper via LDAP"; homepage = "https://github.com/dirkjanm/ldapdomaindump/"; - changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/v${version}"; + changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/${src.rev}"; license = licenses.mit; - maintainers = [ ]; + maintainers = with maintainers; [ fab ]; }; }