2018-01-20 12:57:34 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2019-06-17 22:47:04 +02:00
|
|
|
version = "0.8.2";
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-17 22:47:04 +02:00
|
|
|
sha256 = "0nh6dvf8g93hv7cma6r8l88k8l20zck6a0ax29mrdg03f9hqdk9a";
|
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";
|
2020-04-01 03:11:51 +02: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
|
|
|
};
|
|
|
|
}
|