diff --git a/pkgs/by-name/pe/persepolis/package.nix b/pkgs/by-name/pe/persepolis/package.nix index 4a9b49b7adb2..34c2f9325b62 100644 --- a/pkgs/by-name/pe/persepolis/package.nix +++ b/pkgs/by-name/pe/persepolis/package.nix @@ -1,41 +1,33 @@ { lib, - qt5, + qt6, python3, fetchFromGitHub, ffmpeg, - libnotify, - pulseaudio, - sound-theme-freedesktop, pkg-config, meson, ninja, }: - python3.pkgs.buildPythonApplication rec { pname = "persepolis"; - version = "5.1.1"; + version = "5.2.0"; format = "other"; src = fetchFromGitHub { owner = "persepolisdm"; repo = "persepolis"; tag = version; - hash = "sha256-+gdrcEOUrMZw4nTO4bFLGanD4f7OumxTE99hpXlo69w="; + hash = "sha256-E295Y76EmG6H1nwu7d4+OVPRtoCthROqYY5sIsBvUPI="; }; - postPatch = '' - # Ensure dependencies with hard-coded FHS dependencies are properly detected - substituteInPlace check_dependencies.py --replace-fail "isdir(notifications_path)" "isdir('${sound-theme-freedesktop}/share/sounds/freedesktop')" - ''; - # prevent double wrapping dontWrapQtApps = true; nativeBuildInputs = [ meson ninja pkg-config - qt5.wrapQtAppsHook + qt6.wrapQtAppsHook + qt6.qtbase ]; # feed args to wrapPythonApp @@ -43,30 +35,33 @@ python3.pkgs.buildPythonApplication rec { "--prefix PATH : ${ lib.makeBinPath [ ffmpeg - libnotify ] }" "\${qtWrapperArgs[@]}" ]; propagatedBuildInputs = [ - pulseaudio - sound-theme-freedesktop - ] - ++ (with python3.pkgs; [ - psutil - pyqt5 - requests - setproctitle - setuptools - yt-dlp - ]); + (with python3.pkgs; [ + psutil + pyside6 + pysocks + urllib3 + dasbus + requests + setproctitle + setuptools + yt-dlp + ]) + ]; meta = with lib; { description = "Download manager GUI written in Python"; mainProgram = "persepolis"; homepage = "https://persepolisdm.github.io/"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ iFreilicht ]; + maintainers = with maintainers; [ + iFreilicht + L0L1P0P + ]; }; }