From 7377ee13d05b251adf1ebe21ae855f9e3006e813 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:37:37 +0200 Subject: [PATCH] python312Packages.nextdns: format with nixfmt --- .../python-modules/nextdns/default.nix | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/nextdns/default.nix b/pkgs/development/python-modules/nextdns/default.nix index caa98835c81f..9b84c400e529 100644 --- a/pkgs/development/python-modules/nextdns/default.nix +++ b/pkgs/development/python-modules/nextdns/default.nix @@ -1,15 +1,16 @@ -{ lib -, aiohttp -, aioresponses -, buildPythonPackage -, fetchFromGitHub -, orjson -, pytest-asyncio -, pytest-error-for-skips -, pytestCheckHook -, pythonOlder -, setuptools -, syrupy +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + orjson, + pytest-asyncio, + pytest-error-for-skips, + pytestCheckHook, + pythonOlder, + setuptools, + syrupy, }: buildPythonPackage rec { @@ -17,7 +18,7 @@ buildPythonPackage rec { version = "3.0.0"; pyproject = true; - disabled = pythonOlder "3.10"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "bieniu"; @@ -26,9 +27,7 @@ buildPythonPackage rec { hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp @@ -43,9 +42,7 @@ buildPythonPackage rec { syrupy ]; - pythonImportsCheck = [ - "nextdns" - ]; + pythonImportsCheck = [ "nextdns" ]; meta = with lib; { description = "Module for the NextDNS API";