Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1000 B
Nix
50 lines
1000 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
libsForQt5,
|
|
openrgb,
|
|
glib,
|
|
openal,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "openrgb-plugin-effects";
|
|
version = "0.9";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "OpenRGBDevelopers";
|
|
repo = "OpenRGBEffectsPlugin";
|
|
rev = "release_${finalAttrs.version}";
|
|
hash = "sha256-8BnHifcFf7ESJgJi/q3ca38zuIVa++BoGlkWxj7gpog=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
postPatch = ''
|
|
# Use the source of openrgb from nixpkgs instead of the submodule
|
|
rm -r OpenRGB
|
|
ln -s ${openrgb.src} OpenRGB
|
|
'';
|
|
|
|
nativeBuildInputs = with libsForQt5; [
|
|
qmake
|
|
pkg-config
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = with libsForQt5; [
|
|
qtbase
|
|
glib
|
|
openal
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin";
|
|
description = "Effects plugin for OpenRGB";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|