mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 07:01:14 +00:00
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:
parent
a801d7b2a8
commit
e883436097
@ -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[@]}"
|
||||
)
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user