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