Merge pull request #305700 from fabaff/nextdns-bump
python312Packages.nextdns: 2.1.0 -> 3.0.0
This commit is contained in:
commit
2b5f094818
|
@ -1,30 +1,35 @@
|
||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, aioresponses
|
aiohttp,
|
||||||
, buildPythonPackage
|
aioresponses,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, orjson
|
fetchFromGitHub,
|
||||||
, pytest-asyncio
|
orjson,
|
||||||
, pytest-error-for-skips
|
pytest-asyncio,
|
||||||
, pytestCheckHook
|
pytest-error-for-skips,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
|
syrupy,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nextdns";
|
pname = "nextdns";
|
||||||
version = "2.1.0";
|
version = "3.0.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bieniu";
|
owner = "bieniu";
|
||||||
repo = "nextdns";
|
repo = "nextdns";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-haw6t7pepMN77LFVgDFBbV4StRqcRMvnCaup8K38kEg=";
|
hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
orjson
|
orjson
|
||||||
];
|
];
|
||||||
|
@ -34,11 +39,10 @@ buildPythonPackage rec {
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-error-for-skips
|
pytest-error-for-skips
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
syrupy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "nextdns" ];
|
||||||
"nextdns"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Module for the NextDNS API";
|
description = "Module for the NextDNS API";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user