proper 3d projection
This commit is contained in:
parent
0f7f67803a
commit
ec42d4b6ee
14 changed files with 3761 additions and 209 deletions
30
build.nix
Normal file
30
build.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue