diff --git a/pkgs/by-name/ad/adidnsdump/package.nix b/pkgs/by-name/ad/adidnsdump/package.nix index 97b568ab074a..b935efd8552d 100644 --- a/pkgs/by-name/ad/adidnsdump/package.nix +++ b/pkgs/by-name/ad/adidnsdump/package.nix @@ -6,33 +6,29 @@ python3.pkgs.buildPythonApplication rec { pname = "adidnsdump"; - version = "1.3.1-unstable-2023-12-13"; + version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "dirkjanm"; repo = "adidnsdump"; - rev = "8bbb4b05b2d1b792f3c77ce0a4a762ab9e08727d"; - hash = "sha256-dIbnUyV3gdWHHoyzD0ME2fXlMoiQkdrqQ7qQ6Ab6qs0="; + tag = "v${version}"; + hash = "sha256-gKOIZuXYm8ltaajmOZXulPX5dI4fWz4xiZ8W0kPpcRk="; }; - nativeBuildInputs = with python3.pkgs; [ - setuptools - ]; + build-system = with python3.pkgs; [ setuptools ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ impacket ldap3 ]; - pythonImportsCheck = [ - "adidnsdump" - ]; + pythonImportsCheck = [ "adidnsdump" ]; meta = with lib; { description = "Active Directory Integrated DNS dumping by any authenticated user"; homepage = "https://github.com/dirkjanm/adidnsdump"; - changelog = "https://github.com/dirkjanm/adidnsdump/releases/tag/v${version}"; + changelog = "https://github.com/dirkjanm/adidnsdump/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "adidnsdump";