From 6c73d88ff3fdb22252a468fab81e3547b3b11e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 28 Jul 2026 01:10:58 +0200 Subject: [PATCH] python314Packages.iterm2: 2.13 -> 2.20, clean up --- .../python-modules/iterm2/default.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix index ad0dca14632b..f0e4347b5e5a 100644 --- a/pkgs/development/python-modules/iterm2/default.nix +++ b/pkgs/development/python-modules/iterm2/default.nix @@ -3,29 +3,33 @@ buildPythonPackage, fetchPypi, protobuf, + pytestCheckHook, + setuptools, websockets, }: buildPythonPackage rec { pname = "iterm2"; - version = "2.13"; - format = "setuptools"; + version = "2.20"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-vslDklETWNlOfD+E4xvMOAJXyyYYVs9/CKHk5WPXI34="; + hash = "sha256-Fo04B81Ys+Z4R2hSviu0pc2J8AjZXjfSd32YEHMc/wg="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ protobuf websockets ]; - # The tests require pyobjc. We can't use pyobjc because at - # time of writing the pyobjc derivation is disabled on python 3. - # iterm2 won't build on python 2 because it depends on websockets - # which is disabled below python 3.3. - doCheck = false; + nativeBuildInputs = [ + pytestCheckHook + ]; pythonImportsCheck = [ "iterm2" ];