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