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