kohighlights: remove double wrapping, use pyproject = false

(cherry picked from commit 1ef8394409)
This commit is contained in:
aleksana
2025-05-24 10:55:50 +08:00
committed by github-actions[bot]
parent c7b0e02c76
commit 6e1ed59336

View File

@@ -13,6 +13,7 @@
python3Packages.buildPythonApplication rec {
pname = "kohighlights";
version = "2.3.1.0";
pyproject = false; # manual install
src = fetchFromGitHub {
owner = "noembryo";
@@ -23,7 +24,6 @@ python3Packages.buildPythonApplication rec {
dontWrapPythonPrograms = true;
dontBuild = true;
format = "other";
buildInputs =
[
@@ -57,6 +57,8 @@ python3Packages.buildPythonApplication rec {
})
];
dontWrapQtApps = true;
installPhase = ''
runHook preInstall
@@ -65,7 +67,8 @@ python3Packages.buildPythonApplication rec {
cp -r * $out/share/KoHighlights
makeWrapper ${python3.interpreter} $out/bin/KoHighlights \
--add-flags "$out/share/KoHighlights/main.py" \
--set PYTHONPATH "${python3Packages.makePythonPath dependencies}"
--set PYTHONPATH "${python3Packages.makePythonPath dependencies}" \
''${qtWrapperArgs[@]}
runHook postInstall
'';