summary refs log tree commit diff
path: root/pkgs/tools/misc/tmuxp
diff options
context:
space:
mode:
authorMartin Ertsås <martiert@gmail.com>2023-01-20 09:48:28 +0100
committerMartin Ertsås <martiert@gmail.com>2023-01-20 20:26:55 +0100
commita8e35d013165b27eea9f2c7befb71e7ac6d8b7ce (patch)
tree06d996d8e0595cc907bd70cb48006019bd1e999b /pkgs/tools/misc/tmuxp
parent0e6c2c6d6b85c3b505e378acfe8cc7551ef317a2 (diff)
downloadnixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar.gz
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar.bz2
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar.lz
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar.xz
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.tar.zst
nixpkgs-a8e35d013165b27eea9f2c7befb71e7ac6d8b7ce.zip
tmuxp: 1.12.1 -> 1.23.0
tmuxp 1.12.1 depends on a libtmux where you can import which from the
library. This has been changed in libtmux, and we now need to use
shutil.which to avoid the error:

ImportError: cannot import name 'which' from 'libtmux.common'

Updating the package fixes this issue.
Diffstat (limited to 'pkgs/tools/misc/tmuxp')
-rw-r--r--pkgs/tools/misc/tmuxp/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix
index 768e4d33e3d..1b21a4d6029 100644
--- a/pkgs/tools/misc/tmuxp/default.nix
+++ b/pkgs/tools/misc/tmuxp/default.nix
@@ -6,18 +6,13 @@ let
 in
 pypkgs.buildPythonApplication rec {
   pname = "tmuxp";
-  version = "1.12.1";
+  version = "1.23.0";
 
   src = pypkgs.fetchPypi {
     inherit pname version;
-    sha256 = "078624c5ac7aa4142735f856fadb9281fcebb10e6b98d1be2b2f2bbd106613b9";
+    sha256 = "Ix/43QFOa0kCP5xndszFGk0p12w/t/z+fVcYRIj9y0s=";
   };
 
-  postPatch = ''
-    substituteInPlace setup.py \
-      --replace "libtmux>=0.12.0,<0.13.0" "libtmux"
-  '';
-
   # No tests in archive
   doCheck = false;