2024-03-26 20:26:07 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitLab
|
2024-03-26 20:32:44 +00:00
|
|
|
, nix-update-script
|
2024-03-26 20:26:07 +00:00
|
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-12-18 10:12:14 +00:00
|
|
|
pname = "xr-hardware";
|
2024-03-26 20:26:07 +00:00
|
|
|
version = "1.1.1";
|
2023-12-18 10:12:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "monado/utilities";
|
|
|
|
repo = "xr-hardware";
|
2024-03-26 20:26:07 +00:00
|
|
|
rev = "refs/tags/${finalAttrs.version}";
|
|
|
|
hash = "sha256-w35/LoozCJz0ytHEHWsEdCaYYwyGU6sE13iMckVdOzY=";
|
2023-12-18 10:12:14 +00:00
|
|
|
};
|
|
|
|
|
2024-03-26 20:26:07 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
2023-12-18 10:12:14 +00:00
|
|
|
installTargets = "install_package";
|
|
|
|
installFlagsArray = "DESTDIR=${placeholder "out"}";
|
|
|
|
|
2024-03-26 20:32:44 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2023-12-18 10:12:14 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Hardware description for XR devices";
|
|
|
|
homepage = "https://gitlab.freedesktop.org/monado/utilities/xr-hardware";
|
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = with maintainers; [ Scrumplex ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2024-03-26 20:26:07 +00:00
|
|
|
})
|