2018-01-20 14:57:34 +03:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
|
2017-06-03 14:49:35 +03:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2018-04-04 21:10:41 +03:00
|
|
|
version = "0.8.0";
|
2017-06-03 14:49:35 +03:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 21:10:41 +03:00
|
|
|
sha256 = "2b969b507c26d9db08b85be4808d75774b6418ecf5a0f61956f7a1da44519585";
|
2017-06-03 14:49:35 +03:00
|
|
|
};
|
|
|
|
|
2018-01-20 14:57:34 +03:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
postPatch = ''
|
2017-06-03 14:49:35 +03:00
|
|
|
sed -i 's/==.*$//' requirements/test.txt
|
|
|
|
'';
|
|
|
|
|
2018-01-20 14:57:34 +03:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-06-03 14:49:35 +03:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scripting library for tmux";
|
|
|
|
homepage = https://libtmux.readthedocs.io/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|