monophony: 2.9.0 -> 2.11.0

https://gitlab.com/zehkira/monophony/-/releases/v2.11.0

dropped nuitka, requires pip to build
This commit is contained in:
Reno Dakota 2024-06-21 13:32:33 +00:00
parent a801d7b2a8
commit e883436097
No known key found for this signature in database

View File

@ -11,15 +11,15 @@
}:
python3Packages.buildPythonApplication rec {
pname = "monophony";
version = "2.9.0";
format = "other";
version = "2.11.0";
pyproject = false;
sourceRoot = "${src.name}/source";
src = fetchFromGitLab {
owner = "zehkira";
repo = "monophony";
rev = "v${version}";
hash = "sha256-fZ+EQqcHJGOLBwyHZJvML6+SkfFpnt6hb8xHedJ7VSU=";
hash = "sha256-OGUj1NNJNerYx/nBtg4g9xMbz6u4YSqKO6HeMNeYpE8=";
};
pythonPath = with python3Packages; [
@ -28,8 +28,13 @@ python3Packages.buildPythonApplication rec {
ytmusicapi
];
build-system = with python3Packages; [
pip
setuptools
wheel
];
nativeBuildInputs = [
python3Packages.nuitka
gobject-introspection
wrapGAppsHook4
];
@ -44,13 +49,17 @@ python3Packages.buildPythonApplication rec {
gstreamer
]);
# Makefile only contains `install`
dontBuild = true;
installFlags = [ "prefix=$(out)" ];
dontWrapGApps = true;
preFixup = ''
buildPythonPath "$pythonPath"
gappsWrapperArgs+=(
--prefix PYTHONPATH : "$program_PYTHONPATH"
makeWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [yt-dlp]}"
"''${gappsWrapperArgs[@]}"
)
'';