NUR/pkgs/JanusVR/client/default.nix

47 lines
809 B
Nix
Raw Normal View History

2019-11-20 15:29:38 +01:00
{ stdenv, fetchFromGitHub, bullet, libopus, qt5, mesa_glu, vlc, openal, assimp, pkgconfig, tree }:
2019-11-19 19:22:15 +01:00
stdenv.mkDerivation {
pname = "janus";
version = "66.4";
src = fetchFromGitHub {
owner = "janusvr";
repo = "janus";
rev = "ed2c4686e9f255f3381d9876886ed73040e85897";
sha256 = "0x0p1i5mzv5b5krj9zick7yb2iiylvj0p3syq6d7yf23yyxnaxxb";
};
buildInputs = [
2019-11-20 15:29:38 +01:00
tree
2019-11-19 19:22:15 +01:00
mesa_glu
vlc
qt5.qmake
qt5.qtwebsockets
qt5.qtwebengine
qt5.qtscript
bullet
libopus
2019-11-20 15:29:38 +01:00
openal
assimp
2019-11-19 19:22:15 +01:00
];
2019-11-20 15:29:38 +01:00
nativeBuildInputs = [
pkgconfig
];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${bullet}/include/bullet"
'';
BuildPhase = ''
tree .
'';
2019-11-19 19:22:15 +01:00
meta = {
description = "VR Social app like the web";
2019-11-20 15:29:38 +01:00
broken = false;
2019-11-19 19:22:15 +01:00
};
}