1{ stdenv, fetchPypi, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 pname = "libtmux";
5 version = "0.8.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "a4c7379604ccdc684aa865723211184709f9a2b45511772989b5f26ad156650e";
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 maintainers = with maintainers; [ ];
25 };
26}