summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/terminator
diff options
context:
space:
mode:
authorStefan Frijters <sfrijters@gmail.com>2020-10-14 07:37:45 +0200
committerStefan Frijters <sfrijters@gmail.com>2021-02-16 17:05:07 +0100
commita0e2df27c9442d8da7b79db0d99446c236956cad (patch)
tree6e4acb06cc0bada404bc0dd0e5ba37456822e163 /pkgs/applications/terminal-emulators/terminator
parente3a7270e3dd01891cefc37ae3a77351053660349 (diff)
terminator: 1.92 -> 2.1.0
Diffstat (limited to 'pkgs/applications/terminal-emulators/terminator')
-rw-r--r--pkgs/applications/terminal-emulators/terminator/default.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/applications/terminal-emulators/terminator/default.nix b/pkgs/applications/terminal-emulators/terminator/default.nix
index 433e5c306180b..82286289fbafa 100644
--- a/pkgs/applications/terminal-emulators/terminator/default.nix
+++ b/pkgs/applications/terminal-emulators/terminator/default.nix
@@ -13,13 +13,13 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "terminator";
-  version = "1.92";
+  version = "2.1.0";
 
   src = fetchFromGitHub {
     owner = "gnome-terminator";
     repo = "terminator";
     rev = "v${version}";
-    sha256 = "105f660wzf9cpn24xzwaaa09igg5h3qhchafv190v5nqck6g1ssh";
+    sha256 = "sha256-Rd5XieB7K2BkSzrAr6Kmoa30xuwvsGKpPrsG2wrU1o8=";
   };
 
   nativeBuildInputs = [
@@ -27,6 +27,7 @@ python3.pkgs.buildPythonApplication rec {
     intltool
     gobject-introspection
     wrapGAppsHook
+    python3.pkgs.pytestrunner
   ];
 
   buildInputs = [
@@ -47,19 +48,13 @@ python3.pkgs.buildPythonApplication rec {
   ];
 
   postPatch = ''
-    patchShebangs run_tests tests po
+    patchShebangs tests po
     # dbus-python is correctly passed in propagatedBuildInputs, but for some reason setup.py complains.
     # The wrapped terminator has the correct path added, so ignore this.
     substituteInPlace setup.py --replace "'dbus-python'," ""
   '';
 
-  checkPhase = ''
-    runHook preCheck
-
-    ./run_tests
-
-    runHook postCheck
-  '';
+  doCheck = false;
 
   meta = with lib; {
     description = "Terminal emulator with support for tiling and tabs";