7 python3.pkgs.buildPythonApplication rec {
12 src = fetchFromGitHub {
16 hash = "sha256-wfjr/FVmKgkP8FMKxw6e8U+lfZQZ2q52REC0mU8Xp7Q=";
20 substituteInPlace pyproject.toml \
21 --replace-fail 'packaging = "^23.0"' 'packaging = "*"' \
22 --replace-fail 'wcwidth = "0.1.9"' 'wcwidth = "*"'
25 nativeBuildInputs = with python3.pkgs; [
29 propagatedBuildInputs = with python3.pkgs; [
41 nativeCheckInputs = with python3.pkgs; [
49 "--ignore=tests/unittests/test_client.py"
50 "--deselect=tests/unittests/test_render_functions.py::test_render_unixtime_config_raw"
51 "--deselect=tests/unittests/test_render_functions.py::test_render_time"
52 # Only execute unittests, because cli tests require a running Redis
54 ] ++ lib.optionals stdenv.isDarwin [
56 "--deselect=tests/unittests/test_entry.py::test_command_shell_options_higher_priority"
57 "--deselect=tests/unittests/test_utils.py::test_timer"
60 pythonImportsCheck = [ "iredis" ];
63 description = "Terminal Client for Redis with AutoCompletion and Syntax Highlighting";
64 changelog = "https://github.com/laixintao/iredis/blob/${src.rev}/CHANGELOG.md";
65 homepage = "https://iredis.xbin.io/";
66 license = licenses.bsd3;
67 maintainers = with maintainers; [ ];
68 mainProgram = "iredis";