install dependencies for qt gui config app

This commit is contained in:
Khaïs COLIN 2025-02-02 14:47:41 +01:00
parent 4ce88fcbee
commit 94474c6586

View file

@ -14,7 +14,20 @@
propagatedBuildInputs = [ propagatedBuildInputs = [
pkgs.python312Packages.libvirt pkgs.python312Packages.libvirt
pkgs.python312Packages.pyqt5 pkgs.python312Packages.pyqt5
pkgs.libsForQt5.qtbase
]; ];
buildInputs = [
pkgs.libsForQt5.qttools
];
nativeBuildInputs = [
pkgs.libsForQt5.wrapQtAppsHook
];
# Arguments to be passed to `makeWrapper`, only used by buildPython*
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
# You can manually patch scripts using: wrapQtApp "$out/bin/myapp". TODO: check when it's required.
wrapQtApp $out/bin/cassowary
'';
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/casualsnek/cassowary/releases/download/0.6/cassowary-0.6-py3-none-any.whl"; url = "https://github.com/casualsnek/cassowary/releases/download/0.6/cassowary-0.6-py3-none-any.whl";
hash = "sha256-WWvCE1yKhz50AE8s/UG4IYT2eJKxFZinTrOBs5AGt9g="; hash = "sha256-WWvCE1yKhz50AE8s/UG4IYT2eJKxFZinTrOBs5AGt9g=";