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