blob: e0cd1b7b5d0cb50a13fc8fef0401c75c4c9731e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
{
lib,
stdenv,
fetchFromGitHub,
python311Packages,
go,
}:
python311Packages.buildPythonApplication rec {
pname = "thefuck";
version = "3.32";
src = fetchFromGitHub {
owner = "nvbn";
repo = "thefuck";
rev = "refs/tags/${version}";
hash = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
};
dependencies = with python311Packages; [
colorama
decorator
psutil
pyte
six
];
nativeCheckInputs =
[ go ]
++ (with python311Packages; [
mock
pytest7CheckHook
pytest-mock
]);
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
"test_settings_defaults"
"test_from_file"
"test_from_env"
"test_settings_from_args"
"test_get_all_executables_exclude_paths"
"test_with_blank_cache"
"test_with_filled_cache"
"test_when_etag_changed"
"test_for_generic_shell"
"test_on_first_run"
"test_on_run_after_other_commands"
"test_when_cant_configure_automatically"
"test_when_already_configured"
"test_when_successfully_configured"
];
meta = {
homepage = "https://github.com/nvbn/thefuck";
description = "Magnificent app which corrects your previous console command";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ marcusramberg ];
};
}
|