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