2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, python }:
|
2016-08-01 14:01:02 +00:00
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
with python.pkgs;
|
2016-08-01 14:01:02 +00:00
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tmuxp";
|
2020-11-25 04:55:20 +00:00
|
|
|
version = "1.6.3";
|
2016-08-01 14:01:02 +00:00
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-25 04:55:20 +00:00
|
|
|
sha256 = "4bc52d6683235307c92ddbb164c84e3e892ee2d00afa16ed89eca0fa7f85029e";
|
2016-08-01 14:01:02 +00:00
|
|
|
};
|
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
postPatch = ''
|
2017-06-01 21:32:05 +00:00
|
|
|
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
|
2016-09-10 10:20:39 +00:00
|
|
|
'';
|
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2016-09-10 10:20:39 +00:00
|
|
|
pytest-rerunfailures
|
|
|
|
];
|
2016-09-08 11:48:45 +00:00
|
|
|
|
2018-01-20 12:14:07 +00:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2016-08-01 14:01:02 +00:00
|
|
|
click colorama kaptan libtmux
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Manage tmux workspaces from JSON and YAML";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://tmuxp.git-pull.com/";
|
2016-08-01 14:01:02 +00:00
|
|
|
license = licenses.bsd3;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-08-01 14:01:02 +00:00
|
|
|
};
|
|
|
|
}
|