2016-08-01 14:01:02 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
name = "tmuxp-${version}";
|
2017-03-28 18:13:50 +00:00
|
|
|
version = "1.2.7";
|
2016-08-01 14:01:02 +00:00
|
|
|
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
|
2017-03-28 18:13:50 +00:00
|
|
|
sha256 = "19s17frgyjvyvmr16fs0gl5mnbaxbmdffmkckadwhd5mg0pz2i4s";
|
2016-08-01 14:01:02 +00:00
|
|
|
};
|
|
|
|
|
2016-09-10 10:20:39 +00:00
|
|
|
patchPhase = ''
|
2016-10-11 21:53:02 +00:00
|
|
|
sed -i 's/==.*$//' requirements/test.txt
|
2016-09-10 10:20:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [
|
2017-01-30 20:17:00 +00:00
|
|
|
pytest_29
|
2016-09-10 10:20:39 +00:00
|
|
|
pytest-rerunfailures
|
|
|
|
];
|
2016-09-08 11:48:45 +00:00
|
|
|
|
2016-08-01 14:01:02 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|