motoc: init at 0.2.0 (#340172)

This commit is contained in:
Aleksana 2024-09-09 12:24:26 +08:00 committed by GitHub
commit 66210cd25a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1100 additions and 0 deletions

1058
pkgs/by-name/mo/motoc/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,42 @@
{
lib,
rustPlatform,
fetchFromGitHub,
openxr-loader,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "motoc";
version = "0.2.0";
src = fetchFromGitHub {
owner = "galister";
repo = "motoc";
rev = "refs/tags/v${version}";
hash = "sha256-7p25F2bRba3LxS8UAkHvhb+GyOsKUMj7bhiK5ZJ0Jkk=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libmonado-rs-0.1.0" = "sha256-bbbo/Mkix6nUGLwplvj6m8IXOcZY5UoWc1xZnI67IlU=";
"openxr-0.19.0" = "sha256-kbEYoN4UvUEaZA9LJWEKx1X1r+l91GjTWs1hNXhr7cw=";
};
};
buildInputs = [
openxr-loader
];
passthru.updateScript = nix-update-script { };
meta = {
description = "MOnado Tracking Origin Calibration program";
homepage = "https://github.com/galister/motoc";
changelog = "https://github.com/galister/motoc/releases";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ pandapip1 ];
mainProgram = "motoc";
};
}