mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
python312Packages.nextdns: 3.0.0 -> 3.1.0
https://github.com/bieniu/nextdns/releases/tag/3.1.0
This commit is contained in:
parent
841ce90793
commit
28f0f947a1
@ -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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user