diff options
Diffstat (limited to 'pkgs/applications/misc/topydo/default.nix')
-rw-r--r-- | pkgs/applications/misc/topydo/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/misc/topydo/default.nix b/pkgs/applications/misc/topydo/default.nix index 352d21361b0..e7ca1a935bb 100644 --- a/pkgs/applications/misc/topydo/default.nix +++ b/pkgs/applications/misc/topydo/default.nix @@ -1,4 +1,4 @@ -{ lib, python3Packages, fetchFromGitHub, glibcLocales }: +{ lib, python3Packages, fetchFromGitHub, glibcLocales, unittestCheckHook }: with python3Packages; @@ -22,16 +22,15 @@ buildPythonApplication rec { watchdog ]; - checkInputs = [ mock freezegun pylint ]; + checkInputs = [ unittestCheckHook mock freezegun pylint ]; # Skip test that has been reported multiple times upstream without result: # bram85/topydo#271, bram85/topydo#274. - checkPhase = '' + preCheck = '' substituteInPlace test/test_revert_command.py --replace 'test_revert_ls' 'dont_test_revert_ls' - python -m unittest discover ''; - LC_ALL="en_US.UTF-8"; + LC_ALL = "en_US.UTF-8"; meta = with lib; { description = "A cli todo application compatible with the todo.txt format"; |