Merge pull request #305253 from fabaff/aiodiscover-bump

python312Packages.aiodiscover: 2.0.0 -> 2.1.0
This commit is contained in:
Fabian Affolter 2024-04-26 20:02:07 +02:00 committed by GitHub
commit 32a32f2639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,22 +1,23 @@
{ lib {
, aiodns lib,
, async-timeout aiodns,
, buildPythonPackage async-timeout,
, cached-ipaddress buildPythonPackage,
, dnspython cached-ipaddress,
, fetchFromGitHub dnspython,
, ifaddr fetchFromGitHub,
, netifaces ifaddr,
, pyroute2 netifaces,
, pytest-asyncio pyroute2,
, pytestCheckHook pytest-asyncio,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiodiscover"; pname = "aiodiscover";
version = "2.0.0"; version = "2.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -25,12 +26,10 @@ buildPythonPackage rec {
owner = "bdraco"; owner = "bdraco";
repo = "aiodiscover"; repo = "aiodiscover";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-7oeyuwirQ2mm0UQEOwTkAz126UnxkoMjg+DDu5DWY3E="; hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
async-timeout async-timeout
@ -52,9 +51,7 @@ buildPythonPackage rec {
"test_async_discover_hosts" "test_async_discover_hosts"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "aiodiscover" ];
"aiodiscover"
];
meta = with lib; { meta = with lib; {
description = "Python module to discover hosts via ARP and PTR lookup"; description = "Python module to discover hosts via ARP and PTR lookup";