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.
This commit is contained in:
parent
0e6c2c6d6b
commit
a8e35d0131
1 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue