Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, unzip, cmake, libGLU, libGL }: 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 nativeBuildInputs = [ cmake unzip ]; 16 buildInputs = [ libGLU libGL ]; 17 18 doCheck = false; # FIXME: test failure 19 checkTarget = "test"; 20 21 meta = with lib; { 22 description = "Virtual Reality Peripheral Network"; 23 longDescription = '' 24 The Virtual-Reality Peripheral Network (VRPN) is a set of classes 25 within a library and a set of servers that are designed to implement 26 a network-transparent interface between application programs and the 27 set of physical devices (tracker, etc.) used in a virtual-reality 28 (VR) system. 29 ''; 30 homepage = "https://github.com/vrpn/vrpn"; 31 license = licenses.boost; # see https://github.com/vrpn/vrpn/wiki/License 32 platforms = platforms.linux; 33 maintainers = with maintainers; [ ludo ]; 34 }; 35}