1{ stdenv, fetchFromGitHub, unzip, cmake, libGLU_combined }:
2
3stdenv.mkDerivation rec {
4 name = "${pname}-${date}";
5 pname = "vrpn";
6 date = "2016-08-27";
7
8 src = fetchFromGitHub {
9 owner = "vrpn";
10 repo = "vrpn";
11 rev = "9fa0ab3676a43527301c9efd3637f80220eb9462";
12 sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
13 };
14
15 buildInputs = [ unzip cmake libGLU_combined ];
16
17 doCheck = false; # FIXME: test failure
18 checkTarget = "test";
19
20 meta = with stdenv.lib; {
21 description = "Virtual Reality Peripheral Network";
22 longDescription = ''
23 The Virtual-Reality Peripheral Network (VRPN) is a set of classes
24 within a library and a set of servers that are designed to implement
25 a network-transparent interface between application programs and the
26 set of physical devices (tracker, etc.) used in a virtual-reality
27 (VR) system.
28 '';
29 homepage = http://www.vrpn.org/;
30 license = licenses.boost; # see https://github.com/vrpn/vrpn/wiki/License
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ ludo ];
33 };
34}