nixpkgs/pkgs/by-name/xr/xr-hardware/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
782 B
Nix
Raw Normal View History

{ lib
, stdenvNoCC
, fetchFromGitLab
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "xr-hardware";
version = "1.1.1";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "monado/utilities";
repo = "xr-hardware";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-w35/LoozCJz0ytHEHWsEdCaYYwyGU6sE13iMckVdOzY=";
};
dontConfigure = true;
dontBuild = true;
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;
};
})