nixpkgs/pkgs/applications/misc/openrgb-plugins/effects/default.nix
panda2134 3727072bdf openrgb-plugin-effects: 0.8 -> 0.9
removed patch 75f1b3617d9cabfb3b04a7afc75ce0c1b8514bc0, as this commit
has been included in v0.9.
2023-08-21 12:09:24 -05:00

51 lines
959 B
Nix

{ lib
, stdenv
, fetchFromGitLab
, qtbase
, openrgb
, glib
, openal
, qmake
, pkg-config
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "openrgb-plugin-effects";
version = "0.9";
src = fetchFromGitLab {
owner = "OpenRGBDevelopers";
repo = "OpenRGBEffectsPlugin";
rev = "release_${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 = [
qmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
glib
openal
];
meta = with lib; {
homepage = "https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin";
description = "An effects plugin for OpenRGB";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}