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
Blink + dependencies: update 3.0.3 -> 3.2.0 #68405
Conversation
Either of these approaches should work
The first one happens to produce two wrappers, one from python another for qt. |
Thanks, that works. Took the latter option. blink = callPackage ../applications/networking/instant-messengers/blink { }; to blink = libsForQt5.callPackage ../applications/networking/instant-messengers/blink { }; |
pkgs/applications/networking/instant-messengers/blink/default.nix
Outdated
Show resolved
Hide resolved
propagatedBuildInputs = with pythonPackages; [ pyqt5_with_qtwebkit cjson sipsimple twisted google_api_python_client ]; | ||
nativeBuildInputs = with pythonPackages; [ wrapQtAppsHook ]; | ||
|
||
propagatedBuildInputs = with pythonPackages; [ pyqt5_with_qtwebkit |
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.
This code style is generally unfavorable in nixpkgs now.
Please format like
propagatedBuildInputs = with pythonPackages; [
pyqt5_with_qtwebkit
...
];
or follow what the rest of the file has.
postInstall = '' | ||
wrapProgram $out/bin/blink \ | ||
wrapQtApp $out/bin/blink \ |
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.
You should drop this completely, suggestion above on how to replace it.
pkgs/applications/networking/instant-messengers/blink/default.nix
Outdated
Show resolved
Hide resolved
@@ -1,22 +1,30 @@ | |||
{ stdenv, fetchdarcs, pythonPackages, libvncserver, zlib | |||
, gnutls, libvpx, makeDesktopItem }: | |||
, gnutls, libvpx, makeDesktopItem, mkDerivationWith, wrapQtAppsHook }: |
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.
, gnutls, libvpx, makeDesktopItem, mkDerivationWith, wrapQtAppsHook }: | |
, gnutls, libvpx, makeDesktopItem, mkDerivationWith }: |
@worldofpeace: thanks, I took all you suggestions. |
@pSub |
@aanderse I did try backporting this, but I didn't have time to review the python changes because it needs them to build. (and it does take a while to build) |
@worldofpeace ok, thanks for the info. |
Motivation for this change
New version available, with version bump of all the dependencies.
Unsure how to deal with #65399 as this is PyQt based...
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @