2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pytest }:
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2022-01-13 16:58:30 -08:00
|
|
|
version = "0.10.3";
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 16:58:30 -08:00
|
|
|
sha256 = "c7fbd837f0a9e4d33a157523e4ca6ef95e80256842e094ffd766c3dbd78d1957";
|
2017-06-03 13:49:35 +02:00
|
|
|
};
|
|
|
|
|
2018-01-20 12:57:34 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
postPatch = ''
|
2017-06-03 13:49:35 +02:00
|
|
|
sed -i 's/==.*$//' requirements/test.txt
|
|
|
|
'';
|
|
|
|
|
2018-01-20 12:57:34 +01:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-06-03 13:49:35 +02:00
|
|
|
description = "Scripting library for tmux";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://libtmux.readthedocs.io/";
|
2017-06-03 13:49:35 +02:00
|
|
|
license = licenses.bsd3;
|
2019-03-12 23:45:33 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-06-03 13:49:35 +02:00
|
|
|
};
|
|
|
|
}
|