2018-01-20 11:57:34 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
|
2017-06-03 12:49:35 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2019-02-04 10:44:51 +00:00
|
|
|
version = "0.8.1";
|
2017-06-03 12:49:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-04 10:44:51 +00:00
|
|
|
sha256 = "0al5qcvzcl4v70vngbv39jg422jsy0m1b5q9pp54cc7m9b666jax";
|
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;
|
|
|
|
|
2017-06-03 12:49:35 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scripting library for tmux";
|
|
|
|
homepage = https://libtmux.readthedocs.io/;
|
|
|
|
license = licenses.bsd3;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-06-03 12:49:35 +01:00
|
|
|
};
|
|
|
|
}
|