2016-08-01 16:01:02 +02:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
name = "tmuxp-${version}";
|
2016-10-11 23:53:02 +02:00
|
|
|
version = "1.2.2";
|
2016-08-01 16:01:02 +02:00
|
|
|
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
|
2016-10-11 23:53:02 +02:00
|
|
|
sha256 = "1g37pdxs0wmnskqm7qsqm0ygwpc1dxk1d7lrzpgs717zxaak8vln";
|
2016-08-01 16:01:02 +02:00
|
|
|
};
|
|
|
|
|
2016-09-10 12:20:39 +02:00
|
|
|
patchPhase = ''
|
2016-10-11 23:53:02 +02:00
|
|
|
sed -i 's/==.*$//' requirements/test.txt
|
2016-09-10 12:20:39 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [
|
2017-01-30 21:17:00 +01:00
|
|
|
pytest_29
|
2016-09-10 12:20:39 +02:00
|
|
|
pytest-rerunfailures
|
|
|
|
];
|
2016-09-08 13:48:45 +02:00
|
|
|
|
2016-08-01 16:01:02 +02:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
click colorama kaptan libtmux
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Manage tmux workspaces from JSON and YAML";
|
|
|
|
homepage = "http://tmuxp.readthedocs.io";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
|
|
};
|
|
|
|
}
|