1{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }:
2
3buildPythonPackage rec {
4 name = "${pname}-${version}";
5 pname = "libtmux";
6 version = "0.7.4";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "c7407aa4103d40f50f99432bf4dffe0b4591f976956b2dd7ee7bbf53ad138bd9";
11 };
12
13 buildInputs = [ pytest_29 ];
14 patchPhase = ''
15 sed -i 's/==.*$//' requirements/test.txt
16 '';
17
18 meta = with stdenv.lib; {
19 description = "Scripting library for tmux";
20 homepage = https://libtmux.readthedocs.io/;
21 license = licenses.bsd3;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ jgeerds ];
24 };
25}
26