From 5707a9130534d6bc06ed4c242efa800934f3f608 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Apr 2024 09:28:22 +0200 Subject: [PATCH 1/2] python312Packages.aiodiscover: 2.0.0 -> 2.1.0 Diff: https://github.com/bdraco/aiodiscover/compare/refs/tags/v2.0.0...v2.1.0 Changelog: https://github.com/bdraco/aiodiscover/releases/tag/v2.1.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 3330acf8d5a2..01c55e008385 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "aiodiscover"; - version = "2.0.0"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = "aiodiscover"; rev = "refs/tags/v${version}"; - hash = "sha256-7oeyuwirQ2mm0UQEOwTkAz126UnxkoMjg+DDu5DWY3E="; + hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4="; }; nativeBuildInputs = [ From 539d3bce23509748295c7fdd0a46f21b5b3bae80 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Apr 2024 09:28:50 +0200 Subject: [PATCH 2/2] python312Packages.aiodiscover: format with nixfmt --- .../python-modules/aiodiscover/default.nix | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix index 01c55e008385..90dcca8a4c2c 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -1,17 +1,18 @@ -{ lib -, aiodns -, async-timeout -, buildPythonPackage -, cached-ipaddress -, dnspython -, fetchFromGitHub -, ifaddr -, netifaces -, pyroute2 -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + aiodns, + async-timeout, + buildPythonPackage, + cached-ipaddress, + dnspython, + fetchFromGitHub, + ifaddr, + netifaces, + pyroute2, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -28,9 +29,7 @@ buildPythonPackage rec { hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ async-timeout @@ -52,9 +51,7 @@ buildPythonPackage rec { "test_async_discover_hosts" ]; - pythonImportsCheck = [ - "aiodiscover" - ]; + pythonImportsCheck = [ "aiodiscover" ]; meta = with lib; { description = "Python module to discover hosts via ARP and PTR lookup";