python312Packages.nextdns: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-21 11:37:37 +02:00
parent 67e38923cf
commit 7377ee13d0

View File

@ -1,15 +1,16 @@
{ 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,
, setuptools pythonOlder,
, syrupy setuptools,
syrupy,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -17,7 +18,7 @@ buildPythonPackage rec {
version = "3.0.0"; version = "3.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bieniu"; owner = "bieniu";
@ -26,9 +27,7 @@ buildPythonPackage rec {
hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA="; hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
aiohttp aiohttp
@ -43,9 +42,7 @@ buildPythonPackage rec {
syrupy syrupy
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "nextdns" ];
"nextdns"
];
meta = with lib; { meta = with lib; {
description = "Module for the NextDNS API"; description = "Module for the NextDNS API";