21 rdbtools-patched = rdbtools.overridePythonAttrs (oldAttrs: {
22 # Add required additional flag for resp-app
25 name = "Add-flag-to-parse-only-key-names.patch";
26 url = "https://github.com/uglide/redis-rdb-tools/commit/b74946e6fbca589947ef0186429d5ce45a074b87.patch";
27 hash = "sha256-1gjqB/IDSsAbrwzWSezlAW/2SYr6BFm1QJ2HAHK2fFs=";
36 src = fetchFromGitHub {
37 owner = "RedisInsight";
38 repo = "RedisDesktopManager";
39 fetchSubmodules = true;
41 hash = "sha256-5eI3J2RsYE5Ejb1r8YkgzmGX2FyaCLFD0lc10J+fOT4=";
45 python3Packages.wrapPython
63 pythonPath = with python3Packages; [
73 substituteInPlace src/resp.pro \
74 --replace 'which ccache' "false" \
75 --replace 'target.files = $$DESTDIR/resp' "${placeholder "src"}/bin/linux/release/resp" \
76 --replace '/opt/resp_app' "${placeholder "out"}" \
77 --replace 'target.path = $$LINUX_INSTALL_PATH' 'target.path = $$LINUX_INSTALL_PATH/bin' \
78 --replace '/usr/' "$out/"
92 buildPythonPath "$pythonPath"
93 qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
97 description = "Cross-platform Developer GUI for Redis";
99 homepage = "https://resp.app/";
100 license = licenses.gpl3Only;
101 platforms = platforms.linux;