about summary refs log tree commit diff
path: root/pkgs/by-name/xr/xr-hardware/package.nix
blob: b2359c2673df8f80ca21e0367f0c4c69907a1fc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  };
}