summary refs log tree commit diff
path: root/pkgs/development/libraries/vrpn/default.nix
blob: 688dc8d451ee636bc492a5c574db2f0d85666286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ stdenv, fetchFromGitHub, unzip, cmake, libGLU, libGL }:

stdenv.mkDerivation rec {
  name    = "${pname}-${date}";
  pname   = "vrpn";
  date    = "2016-08-27";

  src = fetchFromGitHub {
    owner  = "vrpn";
    repo   = "vrpn";
    rev    = "9fa0ab3676a43527301c9efd3637f80220eb9462";
    sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
  };

  buildInputs = [ unzip cmake libGLU libGL ];

  doCheck = false; # FIXME: test failure
  checkTarget = "test";

  meta = with stdenv.lib; {
    description = "Virtual Reality Peripheral Network";
    longDescription = ''
      The Virtual-Reality Peripheral Network (VRPN) is a set of classes
      within a library and a set of servers that are designed to implement
      a network-transparent interface between application programs and the
      set of physical devices (tracker, etc.) used in a virtual-reality
      (VR) system.
    '';
    homepage    = https://github.com/vrpn/vrpn;
    license     = licenses.boost; # see https://github.com/vrpn/vrpn/wiki/License
    platforms   = platforms.linux;
    maintainers = with maintainers; [ ludo ];
  };
}