xr-hardware: add update script

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-03-26 21:32:44 +01:00
parent ef0cd26be7
commit 4da48aa680
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -1,6 +1,7 @@
{ lib
, stdenvNoCC
, fetchFromGitLab
, nix-update-script
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "xr-hardware";
@ -20,6 +21,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
installTargets = "install_package";
installFlagsArray = "DESTDIR=${placeholder "out"}";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Hardware description for XR devices";
homepage = "https://gitlab.freedesktop.org/monado/utilities/xr-hardware";