python312Packages.urwid: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-05-20 09:14:24 +02:00
parent 1e2940bb25
commit 46b41b0c2c
@@ -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";