From 6dab19deb64365678eaa50a43d94531570bfc61d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 May 2026 07:14:27 +0000 Subject: [PATCH 1/2] python3Packages.aiodiscover: 2.7.1 -> 3.0.0 --- pkgs/development/python-modules/aiodiscover/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix index 6b5ad40fb2bc..7562379d67d1 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "aiodiscover"; - version = "2.7.1"; + version = "3.0.0"; pyproject = true; src = fetchFromGitHub { owner = "bdraco"; repo = "aiodiscover"; tag = "v${version}"; - hash = "sha256-q0HXANSfoDPlGdokfiQcsMHkt9ZmD604JRL/SDQx2hw="; + hash = "sha256-O5aQ2yCcy6ZtDviH8Jie3BrgS4kPhSDHBVhbXco5oqM="; }; build-system = [ poetry-core ]; From 4f8d1907c9499714fa4b7ca94dbac658e49f9ae9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 17 May 2026 23:35:06 +0200 Subject: [PATCH 2/2] python3Packages.aiodiscover: modernize --- .../development/python-modules/aiodiscover/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix index 7562379d67d1..0b35804525ad 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -13,7 +13,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiodiscover"; version = "3.0.0"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "bdraco"; repo = "aiodiscover"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-O5aQ2yCcy6ZtDviH8Jie3BrgS4kPhSDHBVhbXco5oqM="; }; @@ -51,8 +51,8 @@ buildPythonPackage rec { meta = { description = "Python module to discover hosts via ARP and PTR lookup"; homepage = "https://github.com/bdraco/aiodiscover"; - changelog = "https://github.com/bdraco/aiodiscover/releases/tag/${src.tag}"; - license = with lib.licenses; [ asl20 ]; + changelog = "https://github.com/bdraco/aiodiscover/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})