1{ lib, fetchPypi, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 pname = "libtmux";
5 version = "0.10.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "a0e958b85ec14cdaabecfa738a0dd51846f05e5c5e9d6749a2bf5160b9f7e1d2";
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 lib; {
21 description = "Scripting library for tmux";
22 homepage = "https://libtmux.readthedocs.io/";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ ];
25 };
26}