openrgb-plugin-hardwaresync: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:09:35 +01:00
parent e7fba6b369
commit 2b10ce0531

View file

@ -11,14 +11,14 @@
, wrapQtAppsHook , wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "openrgb-plugin-hardwaresync"; pname = "openrgb-plugin-hardwaresync";
version = "0.9"; version = "0.9";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "OpenRGBDevelopers"; owner = "OpenRGBDevelopers";
repo = "OpenRGBHardwareSyncPlugin"; repo = "OpenRGBHardwareSyncPlugin";
rev = "release_${version}"; rev = "release_${finalAttrs.version}";
hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0="; hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0=";
}; };
@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ]; maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} })