···1-{ fetchurl, stdenv, unzip, cmake, mesa }:
23-stdenv.mkDerivation {
4- name = "vrpn-07.30";
0056- src = fetchurl {
7- url = "ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_30.zip";
8- sha256 = "1rysp08myv88q3a30dr7js7vg3hvq8zj2bjrpcgpp86fm3gjpvb4";
009 };
1011 buildInputs = [ unzip cmake mesa ];
1213- doCheck = false; # FIXME: test failure
14 checkTarget = "test";
1516- meta = {
17 description = "Virtual Reality Peripheral Network";
18-19- longDescription =
20- '' The Virtual-Reality Peripheral Network (VRPN) is a set of classes
21- within a library and a set of servers that are designed to implement
22- a network-transparent interface between application programs and the
23- set of physical devices (tracker, etc.) used in a virtual-reality
24- (VR) system.
25- '';
26-27- homepage = http://www.cs.unc.edu/Research/vrpn/;
28-29- license = stdenv.lib.licenses.boost;
30- # see # <http://www.cs.unc.edu/Research/vrpn/obtaining_vrpn.html>
31-32- platforms = stdenv.lib.platforms.linux;
33 };
34}
···1+{ stdenv, fetchFromGitHub, unzip, cmake, mesa }:
23+stdenv.mkDerivation rec {
4+ name = "${pname}-${date}";
5+ pname = "vrpn";
6+ date = "2016-08-27";
78+ src = fetchFromGitHub {
9+ owner = "vrpn";
10+ repo = "vrpn";
11+ rev = "9fa0ab3676a43527301c9efd3637f80220eb9462";
12+ sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
13 };
1415 buildInputs = [ unzip cmake mesa ];
1617+ doCheck = false; # FIXME: test failure
18 checkTarget = "test";
1920+ 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 ];
000033 };
34}