lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python311Packages.urwid: 2.1.2 -> 2.2.1

https://github.com/urwid/urwid/releases/tag/2.2.0
https://github.com/urwid/urwid/releases/tag/2.2.1

+31 -17
+31 -17
pkgs/development/python-modules/urwid/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , fetchpatch 5 - , isPy3k 4 + 5 + # build-system 6 + , setuptools 7 + , setuptools-scm 8 + , wheel 9 + 10 + # tests 6 11 , glibcLocales 12 + , pytestCheckHook 7 13 }: 8 14 9 15 buildPythonPackage rec { 10 16 pname = "urwid"; 11 - version = "2.1.2"; 12 - format = "setuptools"; 17 + version = "2.2.1"; 18 + format = "pyproject"; 13 19 14 20 src = fetchPypi { 15 21 inherit pname version; 16 - sha256 = "588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae"; 22 + hash = "sha256-4zkRqxjyxz/dvpvyFtAh504gstWqm+MEA8WPVRMbuKE="; 17 23 }; 18 24 19 - patches = [ 20 - # https://github.com/urwid/urwid/pull/517 21 - (fetchpatch { 22 - name = "python311-compat.patch"; 23 - url = "https://github.com/urwid/urwid/commit/42c1ed1eeb663179b265bae9b384d7ec11c8a9b5.patch"; 24 - hash = "sha256-Oz8O/M6AdqbB6C/BB5rtxp8FgdGhZUxkSxKIyq5Dmho="; 25 - }) 25 + postPatch = '' 26 + sed -i '/addopts =/d' pyproject.toml 27 + ''; 28 + 29 + nativeBuildInputs = [ 30 + setuptools 31 + setuptools-scm 32 + wheel 26 33 ]; 27 34 28 - # tests need to be able to set locale 29 - LC_ALL = "en_US.UTF-8"; 30 - nativeCheckInputs = [ glibcLocales ]; 35 + nativeCheckInputs = [ 36 + glibcLocales 37 + pytestCheckHook 38 + ]; 31 39 32 - # tests which assert on strings don't decode results correctly 33 - doCheck = isPy3k; 40 + env.LC_ALL = "en_US.UTF8"; 41 + 42 + disabledTestPaths = [ 43 + # expect call hangs 44 + "urwid/tests/test_vterm.py" 45 + ]; 34 46 35 47 pythonImportsCheck = [ 36 48 "urwid" 37 49 ]; 38 50 39 51 meta = with lib; { 52 + changelog = "https://github.com/urwid/urwid/releases/tag/${version}"; 40 53 description = "A full-featured console (xterm et al.) user interface library"; 54 + downloadPage = "https://github.com/urwid/urwid"; 41 55 homepage = "https://urwid.org/"; 42 56 license = licenses.lgpl21Plus; 43 57 maintainers = with maintainers; [ ];