3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/tmuxp/default.nix
Jascha Geerds deb59785b0
tmuxp: Add pytest-rerunfailures to dependencies
(cherry picked from commit 6fc67944bf8a9841b649c8d36f852ce65bbae0e1)
(cherry picked from commit f0d1ac6062)
2016-09-13 09:23:24 +02:00

38 lines
906 B
Nix

{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "tmuxp-${version}";
version = "1.2.0";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
sha256 = "05z5ssv9glsqmcy9fdq06bawy1274dnzqsqd3a4z4jd0w6j09smn";
};
patchPhase = ''
# Dependencies required for testing shouldn't pinned to
# a specific version.
substituteInPlace requirements/test.txt \
--replace "==" ">="
'';
buildInputs = with pythonPackages; [
pytest
pytest-rerunfailures
];
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 ];
};
}