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