From 8ebee6e3a6495fac27e3ff867014bed8a0e294fb Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 1 Sep 2020 12:31:43 -0700 Subject: [PATCH] gtg: Run tests --- pkgs/applications/office/gtg/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix index d990bc07ad2..9bd25cfff1d 100644 --- a/pkgs/applications/office/gtg/default.nix +++ b/pkgs/applications/office/gtg/default.nix @@ -50,9 +50,16 @@ python3Packages.buildPythonApplication rec { liblarch ]; + checkInputs = with python3Packages; [ + nose + mock + ]; + format = "other"; strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943) + checkPhase = "python3 ../run-tests"; + meta = with stdenv.lib; { description = " A personal tasks and TODO-list items organizer."; longDescription = ''