Loading pkgs/by-name/op/openrgb-plugin-hardwaresync/package.nix +15 −6 Original line number Diff line number Diff line Loading @@ -2,12 +2,13 @@ lib, stdenv, fetchFromGitLab, libsForQt5, openrgb, glib, libgtop, lm_sensors, pkg-config, kdePackages, fetchpatch, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -21,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0="; }; patches = [ # Fix Qt 6 build (fetchpatch { url = "https://gitlab.com/OpenRGBDevelopers/OpenRGBHardwareSyncPlugin/-/commit/62707c260953fb5ac2bb782595c18791bf54ff97.patch"; hash = "sha256-xMsnVyrn/Cv2x2xQtAnPb5HJc+WolNx4v7h0TkTj9DU="; }) ]; postPatch = '' # Use the source of openrgb from nixpkgs instead of the submodule rmdir OpenRGB Loading @@ -29,17 +38,17 @@ stdenv.mkDerivation (finalAttrs: { rm -r dependencies/lhwm-cpp-wrapper ''; buildInputs = with libsForQt5; [ qtbase buildInputs = [ kdePackages.qtbase glib libgtop lm_sensors ]; nativeBuildInputs = with libsForQt5; [ qmake nativeBuildInputs = [ pkg-config wrapQtAppsHook kdePackages.qmake kdePackages.wrapQtAppsHook ]; meta = with lib; { Loading Loading
pkgs/by-name/op/openrgb-plugin-hardwaresync/package.nix +15 −6 Original line number Diff line number Diff line Loading @@ -2,12 +2,13 @@ lib, stdenv, fetchFromGitLab, libsForQt5, openrgb, glib, libgtop, lm_sensors, pkg-config, kdePackages, fetchpatch, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -21,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0="; }; patches = [ # Fix Qt 6 build (fetchpatch { url = "https://gitlab.com/OpenRGBDevelopers/OpenRGBHardwareSyncPlugin/-/commit/62707c260953fb5ac2bb782595c18791bf54ff97.patch"; hash = "sha256-xMsnVyrn/Cv2x2xQtAnPb5HJc+WolNx4v7h0TkTj9DU="; }) ]; postPatch = '' # Use the source of openrgb from nixpkgs instead of the submodule rmdir OpenRGB Loading @@ -29,17 +38,17 @@ stdenv.mkDerivation (finalAttrs: { rm -r dependencies/lhwm-cpp-wrapper ''; buildInputs = with libsForQt5; [ qtbase buildInputs = [ kdePackages.qtbase glib libgtop lm_sensors ]; nativeBuildInputs = with libsForQt5; [ qmake nativeBuildInputs = [ pkg-config wrapQtAppsHook kdePackages.qmake kdePackages.wrapQtAppsHook ]; meta = with lib; { Loading