nixpkgs/pkgs/tools/misc/tmuxp/default.nix

35 lines
816 B
Nix
Raw Normal View History

2016-08-01 14:01:02 +00:00
{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "tmuxp-${version}";
2017-11-04 07:25:03 +00:00
version = "1.3.4";
2016-08-01 14:01:02 +00:00
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
2017-11-04 07:25:03 +00:00
sha256 = "149n35rr27n2c6yna1bla20x3w1zz9gxnjj3m3xxdfp4fbsd2y31";
2016-08-01 14:01:02 +00:00
};
patchPhase = ''
2017-06-01 21:32:05 +00:00
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
'';
buildInputs = with pythonPackages; [
2017-01-30 20:17:00 +00:00
pytest_29
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;
2016-08-01 14:01:02 +00:00
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}