From 46b41b0c2c454316d342e43fdd7ed0aa3e026be1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 May 2024 09:14:24 +0200 Subject: [PATCH] python312Packages.urwid: format with nixfmt --- .../python-modules/urwid/default.nix | 67 +++++++------------ 1 file changed, 26 insertions(+), 41 deletions(-) diff --git a/pkgs/development/python-modules/urwid/default.nix b/pkgs/development/python-modules/urwid/default.nix index 9ee9490a3223..b629fc39c022 100644 --- a/pkgs/development/python-modules/urwid/default.nix +++ b/pkgs/development/python-modules/urwid/default.nix @@ -1,20 +1,21 @@ -{ lib -, buildPythonPackage -, exceptiongroup -, fetchFromGitHub -, glibcLocales -, pygobject3 -, pyserial -, pytestCheckHook -, pythonOlder -, pyzmq -, setuptools -, setuptools-scm -, tornado -, trio -, twisted -, typing-extensions -, wcwidth +{ + lib, + buildPythonPackage, + exceptiongroup, + fetchFromGitHub, + glibcLocales, + pygobject3, + pyserial, + pytestCheckHook, + pythonOlder, + pyzmq, + setuptools, + setuptools-scm, + tornado, + trio, + twisted, + typing-extensions, + wcwidth, }: buildPythonPackage rec { @@ -46,28 +47,16 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - glib = [ - pygobject3 - ]; - tornado = [ - tornado - ]; + glib = [ pygobject3 ]; + tornado = [ tornado ]; trio = [ exceptiongroup trio ]; - twisted = [ - twisted - ]; - zmq = [ - pyzmq - ]; - serial = [ - pyserial - ]; - lcd = [ - pyserial - ]; + twisted = [ twisted ]; + zmq = [ pyzmq ]; + serial = [ pyserial ]; + lcd = [ pyserial ]; }; nativeCheckInputs = [ @@ -77,18 +66,14 @@ buildPythonPackage rec { env.LC_ALL = "en_US.UTF8"; - pytestFlagsArray = [ - "tests" - ]; + pytestFlagsArray = [ "tests" ]; disabledTestPaths = [ # expect call hangs "tests/test_vterm.py" ]; - pythonImportsCheck = [ - "urwid" - ]; + pythonImportsCheck = [ "urwid" ]; meta = with lib; { description = "A full-featured console (xterm et al.) user interface library";