summary refs log tree commit diff
path: root/pkgs/tools/misc/tmuxp
diff options
context:
space:
mode:
authorJascha Geerds <jascha@jgeerds.name>2016-09-10 12:20:39 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-09-13 09:23:24 +0200
commitdeb59785b080ee720ba30d7add66013aec3e4930 (patch)
tree7615478a686412f18b0ae2c2e6fb33a6811eeca4 /pkgs/tools/misc/tmuxp
parenta514bf604c6098f47e09feb173e953ba3a3a13ff (diff)
downloadnixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar.gz
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar.bz2
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar.lz
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar.xz
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.tar.zst
nixpkgs-deb59785b080ee720ba30d7add66013aec3e4930.zip
tmuxp: Add pytest-rerunfailures to dependencies
(cherry picked from commit 6fc67944bf8a9841b649c8d36f852ce65bbae0e1)
(cherry picked from commit f0d1ac606232a02771343f6ad84d4c769ae2ad54)
Diffstat (limited to 'pkgs/tools/misc/tmuxp')
-rw-r--r--pkgs/tools/misc/tmuxp/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix
index 91a55694f85..1f1ec0437f8 100644
--- a/pkgs/tools/misc/tmuxp/default.nix
+++ b/pkgs/tools/misc/tmuxp/default.nix
@@ -11,7 +11,17 @@ pythonPackages.buildPythonApplication rec {
     sha256 = "05z5ssv9glsqmcy9fdq06bawy1274dnzqsqd3a4z4jd0w6j09smn";
   };
 
-  buildInputs = with pythonPackages; [ pytest ];
+  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