xr-hardware: init at unstable-2023-11-08

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-12-18 11:12:14 +01:00
parent 5d57df8a80
commit 9003167522
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
2 changed files with 29 additions and 0 deletions

View File

@ -25,6 +25,8 @@ in
source = "${cfg.package}/bin/monado-service";
};
services.udev.packages = with pkgs; [ xr-hardware ];
systemd.user = {
services.monado = {
description = "Monado XR runtime service module";

View File

@ -0,0 +1,27 @@
{
lib,
stdenvNoCC,
fetchFromGitLab
}: stdenvNoCC.mkDerivation {
pname = "xr-hardware";
version = "unstable-2023-11-08";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "monado/utilities";
repo = "xr-hardware";
rev = "9204de323210d2a5ab8635c2ee52127100de67b1";
hash = "sha256-ZS15WODms/WKsPu+WbfILO2BOwnxrhCY/SoF8jzOX5Q=";
};
installTargets = "install_package";
installFlagsArray = "DESTDIR=${placeholder "out"}";
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;
};
}