2018-01-20 12:57:34 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2017-11-24 20:36:20 +01:00
|
|
|
version = "0.7.7";
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 20:36:20 +01:00
|
|
|
sha256 = "5670c8da8d0192d932ac1e34f010e0eeb098cdb2af6daad0307b5418e7a37733";
|
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;
|
|
|
|
|
2017-06-03 13:49:35 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|