Commit eb96603c authored by panda2134's avatar panda2134
Browse files

openrgb-plugin-hardwaresync: 0.8 -> 0.9

removed the following patches as they are already present in the current
version:

df2869d679ea43119fb9b174cd0b2cb152022685
bfbaa0a32ed05112e0cc8b6b2a8229945596e522
parent 3727072b
Loading
Loading
Loading
Loading
+2 −16
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, qtbase
, openrgb
, glib
@@ -14,28 +13,15 @@

stdenv.mkDerivation rec {
  pname = "openrgb-plugin-hardwaresync";
  version = "0.8";
  version = "0.9";

  src = fetchFromGitLab {
    owner = "OpenRGBDevelopers";
    repo = "OpenRGBHardwareSyncPlugin";
    rev = "release_${version}";
    hash = "sha256-P+IitP8pQLUkBdMfcNw4fOggqyFfg6lNlnSfUGjddzo=";
    hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0=";
  };

  patches = [
    (fetchpatch {
      name = "use-pkgconfig";
      url = "https://gitlab.com/OpenRGBDevelopers/OpenRGBHardwareSyncPlugin/-/commit/df2869d679ea43119fb9b174cd0b2cb152022685.patch";
      hash = "sha256-oBtrHwpvB8Z3xYi4ucDSuw+5WijPEbgBW7vLGELFjfw=";
    })
    (fetchpatch {
      name = "add-install-rule";
      url = "https://gitlab.com/OpenRGBDevelopers/OpenRGBHardwareSyncPlugin/-/commit/bfbaa0a32ed05112e0cc8b6b2a8229945596e522.patch";
      hash = "sha256-76UMMzeXnyQRCEE1tGPNR5XSHTT480rQDnJ9hWhfIqY=";
    })
  ];

  postPatch = ''
    # Use the source of openrgb from nixpkgs instead of the submodule
    rmdir OpenRGB