diff --git a/pkgs/by-name/tm/tmuxp/package.nix b/pkgs/by-name/tm/tmuxp/package.nix index 6964cb5ace4e..07d32d620870 100644 --- a/pkgs/by-name/tm/tmuxp/package.nix +++ b/pkgs/by-name/tm/tmuxp/package.nix @@ -1,25 +1,28 @@ -{ lib, python3Packages, fetchPypi, installShellFiles }: +{ + lib, + fetchPypi, + installShellFiles, + python3Packages, +}: -let +python3Packages.buildPythonApplication rec { pname = "tmuxp"; - version = "1.47.0"; - hash = "sha256-HYY6CEUPpZVvVK9kV4Ehw4wGk5YfIVSkZ0+qqf6Nz4c="; -in -python3Packages.buildPythonApplication { - inherit pname version; + version = "1.49.0"; pyproject = true; src = fetchPypi { - inherit pname version hash; + inherit pname version; + hash = "sha256-Fip2HnwIa03khiYlL5FkhVo84oS0OSD9f79bEFLBoNc="; }; - nativeBuildInputs = [ - python3Packages.poetry-core - python3Packages.shtab - installShellFiles + build-system = with python3Packages; [ + hatchling + shtab ]; - propagatedBuildInputs = with python3Packages; [ + nativeBuildInputs = [ installShellFiles ]; + + dependencies = with python3Packages; [ colorama libtmux pyyaml diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 917b20ef077f..24e7e7572806 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -3,8 +3,8 @@ stdenv, buildPythonPackage, fetchFromGitHub, + hatchling, ncurses, - poetry-core, procps, pytest-rerunfailures, pytestCheckHook, @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "libtmux"; - version = "0.37.0"; + version = "0.39.0"; pyproject = true; src = fetchFromGitHub { owner = "tmux-python"; repo = "libtmux"; rev = "refs/tags/v${version}"; - hash = "sha256-I0E6zkfQ6mx2svCaXEgKPhrrog3iLgXZ4E3CMMxPkIA="; + hash = "sha256-JqOxJD34DL5Iku3Ov8JzwSVThqDg41PQ/v1Dz6ex4ro="; }; postPatch = '' @@ -28,7 +28,7 @@ buildPythonPackage rec { --replace-fail '"--doctest-docutils-modules",' "" ''; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; nativeCheckInputs = [ procps