mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
kohighlights: remove double wrapping, use pyproject = false
(cherry picked from commit 1ef8394409)
This commit is contained in:
committed by
github-actions[bot]
parent
c7b0e02c76
commit
6e1ed59336
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user