From 73ff1cbe89521f0c4bd13e7313a867f3e08f84b8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 26 Nov 2024 21:21:11 +0100 Subject: [PATCH] tmuxp: 1.47.0 -> 1.49.0 Changelog: https://github.com/tmux-python/tmuxp/raw/v1.49.0/CHANGES --- pkgs/by-name/tm/tmuxp/package.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) 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