1 { lib, stdenv, fetchFromGitHub, buildPythonApplication
2 , colorama, decorator, psutil, pyte, six
3 , go, mock, pytestCheckHook, pytest-mock
6 buildPythonApplication rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
17 propagatedBuildInputs = [ colorama decorator psutil pyte six ];
19 checkInputs = [ go mock pytestCheckHook pytest-mock ];
21 disabledTests = lib.optionals stdenv.isDarwin [
22 "test_settings_defaults"
25 "test_settings_from_args"
26 "test_get_all_executables_exclude_paths"
27 "test_with_blank_cache"
28 "test_with_filled_cache"
29 "test_when_etag_changed"
30 "test_for_generic_shell"
32 "test_on_run_after_other_commands"
33 "test_when_cant_configure_automatically"
34 "test_when_already_configured"
35 "test_when_successfully_configured"
39 homepage = "https://github.com/nvbn/thefuck";
40 description = "Magnificent app which corrects your previous console command";
41 license = licenses.mit;
42 maintainers = with maintainers; [ SuperSandro2000 ];