From 690e88f60c635a3f65164ee362c66bae50e67dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 19 Nov 2019 19:22:15 +0100 Subject: [PATCH] start packaging of janusVR --- default.nix | 1 + pkgs/JanusVR/client/default.nix | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/JanusVR/client/default.nix diff --git a/default.nix b/default.nix index f929601..b051652 100644 --- a/default.nix +++ b/default.nix @@ -20,5 +20,6 @@ rank_photos = pkgs.callPackage ./pkgs/rank_photos { }; JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { }; + janus = pkgs.callPackage ./pkgs/JanusVR/client { }; } diff --git a/pkgs/JanusVR/client/default.nix b/pkgs/JanusVR/client/default.nix new file mode 100644 index 0000000..fc7f0b3 --- /dev/null +++ b/pkgs/JanusVR/client/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, bullet, libopus, qt5, mesa_glu, vlc }: + +stdenv.mkDerivation { + pname = "janus"; + version = "66.4"; + + src = fetchFromGitHub { + owner = "janusvr"; + repo = "janus"; + rev = "ed2c4686e9f255f3381d9876886ed73040e85897"; + sha256 = "0x0p1i5mzv5b5krj9zick7yb2iiylvj0p3syq6d7yf23yyxnaxxb"; + }; + + buildInputs = [ + mesa_glu + vlc + qt5.qmake + qt5.qtwebsockets + qt5.qtwebengine + qt5.qtscript + bullet + libopus + ]; + +# installPhase = '' +# ''; + + meta = { + description = "VR Social app like the web"; + broken = true; + }; + +}