1{ stdenv, fetchPypi, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 pname = "libtmux";
5 version = "0.7.7";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "5670c8da8d0192d932ac1e34f010e0eeb098cdb2af6daad0307b5418e7a37733";
10 };
11
12 checkInputs = [ pytest ];
13 postPatch = ''
14 sed -i 's/==.*$//' requirements/test.txt
15 '';
16
17 # No tests in archive
18 doCheck = false;
19
20 meta = with stdenv.lib; {
21 description = "Scripting library for tmux";
22 homepage = https://libtmux.readthedocs.io/;
23 license = licenses.bsd3;
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ jgeerds ];
26 };
27}
28