python311Packages.aiodiscover: 1.5.1 -> 1.6.0

Diff: https://github.com/bdraco/aiodiscover/compare/refs/tags/v1.5.1...v1.6.0

Changelog: https://github.com/bdraco/aiodiscover/releases/tag/v1.6.0
This commit is contained in:
Fabian Affolter 2023-12-18 20:47:53 +01:00
parent 2592a6704e
commit bdd67c91f2

View File

@ -1,6 +1,7 @@
{ lib { lib
, async-timeout , async-timeout
, buildPythonPackage , buildPythonPackage
, cached-ipaddress
, dnspython , dnspython
, fetchFromGitHub , fetchFromGitHub
, ifaddr , ifaddr
@ -9,35 +10,41 @@
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiodiscover"; pname = "aiodiscover";
version = "1.5.1"; version = "1.6.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdraco"; owner = "bdraco";
repo = pname; repo = "aiodiscover";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-rFypv0gCj+Jskk+dlRNJ2ufj2sDud7AuJzj3cl4bB4Y="; hash = "sha256-FbOqTUSqxSPSCn5zA4s47+M6OsVsqvUBZxTFvJ5PoHs=";
}; };
propagatedBuildInputs = [
async-timeout
dnspython
netifaces
pyroute2
ifaddr
];
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace '"pytest-runner>=5.2",' "" --replace '"pytest-runner>=5.2",' ""
''; '';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
async-timeout
cached-ipaddress
dnspython
netifaces
pyroute2
ifaddr
];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook