python312Packages.nextdns: 3.0.0 -> 3.1.0

https://github.com/bieniu/nextdns/releases/tag/3.1.0
This commit is contained in:
Martin Weinelt 2024-07-03 16:15:39 +02:00
parent 841ce90793
commit 28f0f947a1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,18 +4,18 @@
aioresponses,
buildPythonPackage,
fetchFromGitHub,
orjson,
pytest-asyncio,
pytest-error-for-skips,
pytestCheckHook,
pythonOlder,
setuptools,
syrupy,
tenacity,
}:
buildPythonPackage rec {
pname = "nextdns";
version = "3.0.0";
version = "3.1.0";
pyproject = true;
disabled = pythonOlder "3.11";
@ -24,14 +24,14 @@ buildPythonPackage rec {
owner = "bieniu";
repo = "nextdns";
rev = "refs/tags/${version}";
hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA=";
hash = "sha256-bBGuMfXCAqds9SMGj1I+9rk/u2QljZW60quvWODboCA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
orjson
tenacity
];
nativeCheckInputs = [
@ -42,6 +42,12 @@ buildPythonPackage rec {
syrupy
];
disabledTests = [
# mocked object called too many times
"test_retry_error"
"test_retry_success"
];
pythonImportsCheck = [ "nextdns" ];
meta = with lib; {