2018-07-21 03:44:44 +03:00
|
|
|
{ stdenv, python }:
|
2016-08-01 17:01:02 +03:00
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
with python.pkgs;
|
2016-08-01 17:01:02 +03:00
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tmuxp";
|
2018-10-03 12:02:15 +03:00
|
|
|
version = "1.4.2";
|
2016-08-01 17:01:02 +03:00
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-03 12:02:15 +03:00
|
|
|
sha256 = "087icp1n1qdf53f1314g5biz16sigrnpqr835xqlr6vj85imm2dm";
|
2016-08-01 17:01:02 +03:00
|
|
|
};
|
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
postPatch = ''
|
2017-06-02 00:32:05 +03:00
|
|
|
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
|
2016-09-10 13:20:39 +03:00
|
|
|
'';
|
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2016-09-10 13:20:39 +03:00
|
|
|
pytest-rerunfailures
|
|
|
|
];
|
2016-09-08 14:48:45 +03:00
|
|
|
|
2018-01-20 15:14:07 +03:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2016-08-01 17:01:02 +03:00
|
|
|
click colorama kaptan libtmux
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Manage tmux workspaces from JSON and YAML";
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = http://tmuxp.readthedocs.io;
|
2016-08-01 17:01:02 +03:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
|
|
};
|
|
|
|
}
|