-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kde/frameworks: 5.93 -> 5.94 #173266
Merged
Merged
kde/frameworks: 5.93 -> 5.94 #173266
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
be20107
kde/frameworks: 5.93 -> 5.94
andrevmatos a2e8dd2
kapidox: fix build with python packages
andrevmatos efb845f
plasma-wayland-protocols: 1.6.0 -> 1.7.0
andrevmatos 27b6da0
kf5/kguiaddons: add plasma-wayland-protocols to buildInputs
andrevmatos 4b6301d
loki-lib: compile with c++11
andrevmatos 2fce453
semantik: fix for new kf5
andrevmatos d7ee690
ksmoothdock: 6.2 -> 6.3
andrevmatos 39a7708
kf5/kapidox: apply suggestions from code review
andrevmatos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.93/ -A '*.tar.xz' ) | ||
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.94/ -A '*.tar.xz' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
{ mkDerivation, lib, extra-cmake-modules, python3 }: | ||
{ mkDerivation, python3, qtbase }: | ||
|
||
mkDerivation { | ||
pname = "kapidox"; | ||
nativeBuildInputs = [ extra-cmake-modules python3 python3.pkgs.setuptools ]; | ||
postFixup = '' | ||
moveToOutput bin $bin | ||
nativeBuildInputs = [ python3.pkgs.setuptools qtbase ]; | ||
|
||
buildInputs = with python3.pkgs; [ jinja2 pyyaml requests ]; | ||
|
||
postPatch = '' | ||
sed -i -e 's|"doxy\w\+", ||g' setup.py | ||
''; | ||
|
||
buildPhase = '' | ||
runHook preBuild | ||
${python3.interpreter} setup.py build | ||
runHook postBuild | ||
''; | ||
|
||
installPhase = '' | ||
runHook preInstall | ||
${python3.interpreter} setup.py install --prefix="$out" | ||
runHook postInstall | ||
''; | ||
|
||
outputs = [ "out" ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be happier if we used buildPythonApplication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me too, but not sure how that'd pan out with kde's custom
mkDerivation
(which merges these attributes withsrcs.nix
and versions). Would you have a suggestion on how to integratebuildPythonApplication
with that?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add it next to https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/kde-frameworks/default.nix#L92-L94 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the trouble worth it? Not like we build several python libraries/applications for all supported python environments/versions, the build is just a couple of
setup.py
commands, only enough to satisfy this marginally required dependency. Also, I tried it a little, and my Nix knowledge may not be enough, as it may involve passing the whole attrset of pythonPackages as parameters of the derivation, as is done with thelibsForQt5
set, but I'm not sure about the safe way to do this with both in the same call.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternately, we could just drop this package. It's never been used in Nixpkgs. I'm not even sure it has ever been buildable before.