python312Packages.aiodiscover: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-19 09:28:50 +02:00
parent 5707a91305
commit 539d3bce23

View File

@ -1,17 +1,18 @@
{ 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 {
@ -28,9 +29,7 @@ buildPythonPackage rec {
hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4="; 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";