persepolis: migrate to by-name

This commit is contained in:
Felix Uhl 2024-03-05 17:02:33 +01:00
parent b502a1d4d5
commit 1e04dc2a54
6 changed files with 7 additions and 16 deletions

View File

@ -1,22 +1,16 @@
{ lib
, stdenv
, buildPythonApplication
, qt5
, python3
, fetchFromGitHub
, aria2
, ffmpeg
, libnotify
, pulseaudio
, psutil
, pyqt5
, requests
, setproctitle
, setuptools
, sound-theme-freedesktop
, wrapQtAppsHook
, yt-dlp
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "persepolis";
version = "4.0.0";
@ -56,7 +50,7 @@ buildPythonApplication rec {
# prevent double wrapping
dontWrapQtApps = true;
nativeBuildInputs = [ wrapQtAppsHook ];
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
# feed args to wrapPythonApp
makeWrapperArgs = [
@ -76,14 +70,15 @@ buildPythonApplication rec {
propagatedBuildInputs = [
pulseaudio
sound-theme-freedesktop
] ++ (with python3.pkgs; [
psutil
pyqt5
requests
setproctitle
setuptools
sound-theme-freedesktop
yt-dlp
];
]);
meta = with lib; {
description = "A GUI for aria2";

View File

@ -6139,10 +6139,6 @@ with pkgs;
pcp = callPackage ../tools/misc/pcp { };
persepolis = python3Packages.callPackage ../tools/networking/persepolis {
wrapQtAppsHook = qt5.wrapQtAppsHook;
};
pev = callPackage ../development/tools/analysis/pev { };
phd2 = callPackage ../applications/science/astronomy/phd2 { };