2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, python }:
|
|
|
|
|
|
|
|
with python.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tmuxp";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "1.5.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "09b403c9e1ef50695fab1e72376ff5674906b485fbcaad50c7cafec1ba775087";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
pytest-rerunfailures
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click colorama kaptan libtmux
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Manage tmux workspaces from JSON and YAML";
|
|
|
|
homepage = "https://tmuxp.git-pull.com/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|