From db2e6445c0da2154d7a37953a7ae1d91f6ca5ef6 Mon Sep 17 00:00:00 2001 From: L0L1P0P1 Date: Thu, 31 Jul 2025 13:51:17 +0330 Subject: [PATCH 1/2] persepolis updated from 5.1.1 -> 5.2.0 --- pkgs/by-name/pe/persepolis/package.nix | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/pkgs/by-name/pe/persepolis/package.nix b/pkgs/by-name/pe/persepolis/package.nix index 4a9b49b7adb2..4f37c912898c 100644 --- a/pkgs/by-name/pe/persepolis/package.nix +++ b/pkgs/by-name/pe/persepolis/package.nix @@ -1,12 +1,9 @@ { lib, - qt5, + qt6, python3, fetchFromGitHub, ffmpeg, - libnotify, - pulseaudio, - sound-theme-freedesktop, pkg-config, meson, ninja, @@ -14,28 +11,24 @@ 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,24 +36,24 @@ 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"; From a3bca2ecab5b3b7a49f6b62cfeda25eb22f12056 Mon Sep 17 00:00:00 2001 From: L0L1P0P1 Date: Thu, 31 Jul 2025 13:56:02 +0330 Subject: [PATCH 2/2] added L0L1P0P1 to persepolis maintainers --- pkgs/by-name/pe/persepolis/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pe/persepolis/package.nix b/pkgs/by-name/pe/persepolis/package.nix index 4f37c912898c..34c2f9325b62 100644 --- a/pkgs/by-name/pe/persepolis/package.nix +++ b/pkgs/by-name/pe/persepolis/package.nix @@ -8,7 +8,6 @@ meson, ninja, }: - python3.pkgs.buildPythonApplication rec { pname = "persepolis"; version = "5.2.0"; @@ -60,6 +59,9 @@ python3.pkgs.buildPythonApplication rec { mainProgram = "persepolis"; homepage = "https://persepolisdm.github.io/"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ iFreilicht ]; + maintainers = with maintainers; [ + iFreilicht + L0L1P0P + ]; }; }