From 9a53c8f4f26c4d653b8f6ea48c7c435385fc97ae Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 30 Jun 2021 11:41:25 +0800 Subject: [PATCH] tmuxp: 1.7.2 -> 1.9.2 --- pkgs/tools/misc/tmuxp/default.nix | 32 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index 9e97f0d892b..5820cbbba2c 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -1,36 +1,32 @@ -{ lib, python }: +{ lib, python3Packages }: -with python.pkgs; +let + pypkgs = python3Packages; -buildPythonApplication rec { +in +pypkgs.buildPythonApplication rec { pname = "tmuxp"; - version = "1.7.2"; + version = "1.9.2"; - src = fetchPypi { + src = pypkgs.fetchPypi { inherit pname version; - sha256 = "14296b62db260420d4600dcd805408ea908b3a78d4ea0a6a403d092fdbf6d075"; + sha256 = "sha256-3RlTbIq7UGvEESMvncq97bhjJw8O4m+0aFVZgBQOwkM="; }; - postPatch = '' - sed -i 's/==.*$//' requirements/base.txt requirements/test.txt - ''; - - checkInputs = [ - pytest - pytest-rerunfailures - ]; - # No tests in archive doCheck = false; - propagatedBuildInputs = [ - click colorama kaptan libtmux + propagatedBuildInputs = with pypkgs; [ + click + colorama + kaptan + libtmux ]; meta = with lib; { description = "Manage tmux workspaces from JSON and YAML"; homepage = "https://tmuxp.git-pull.com/"; license = licenses.bsd3; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ peterhoeg ]; }; }