proper 3d projection

This commit is contained in:
Chance 2025-03-22 18:19:01 -04:00 committed by lily
parent ca726bb7ee
commit 8c0308d105
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
14 changed files with 3761 additions and 209 deletions

30
build.nix Normal file
View file

@ -0,0 +1,30 @@
{ lib, rustPlatform, nix-gitignore, bash, makeWrapper, dav1d, pkg-config }:
let
version = (builtins.fromTOML (builtins.readFile ./engine/Cargo.toml)).package.version;
src = nix-gitignore.gitignoreSource [] ./.;
in
rustPlatform.buildRustPackage rec {
pname = "zenyx";
inherit src version;
cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = [
makeWrapper
pkg-config
];
buildInputs = [
bash
dav1d
];
doCheck = false;
fixupPhase = ''
wrapProgram $out/bin/${pname} --set PATH ${bash}/bin:\$PATH
'';
meta = {
description = "Test";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "zenyx";
};
}