···11-{ fetchurl, stdenv, unzip, cmake, mesa }:
11+{ stdenv, fetchFromGitHub, unzip, cmake, mesa }:
2233-stdenv.mkDerivation {
44- name = "vrpn-07.30";
33+stdenv.mkDerivation rec {
44+ name = "${pname}-${date}";
55+ pname = "vrpn";
66+ date = "2016-08-27";
5766- src = fetchurl {
77- url = "ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_30.zip";
88- sha256 = "1rysp08myv88q3a30dr7js7vg3hvq8zj2bjrpcgpp86fm3gjpvb4";
88+ src = fetchFromGitHub {
99+ owner = "vrpn";
1010+ repo = "vrpn";
1111+ rev = "9fa0ab3676a43527301c9efd3637f80220eb9462";
1212+ sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
913 };
10141115 buildInputs = [ unzip cmake mesa ];
12161313- doCheck = false; # FIXME: test failure
1717+ doCheck = false; # FIXME: test failure
1418 checkTarget = "test";
15191616- meta = {
2020+ meta = with stdenv.lib; {
1721 description = "Virtual Reality Peripheral Network";
1818-1919- longDescription =
2020- '' The Virtual-Reality Peripheral Network (VRPN) is a set of classes
2121- within a library and a set of servers that are designed to implement
2222- a network-transparent interface between application programs and the
2323- set of physical devices (tracker, etc.) used in a virtual-reality
2424- (VR) system.
2525- '';
2626-2727- homepage = http://www.cs.unc.edu/Research/vrpn/;
2828-2929- license = stdenv.lib.licenses.boost;
3030- # see # <http://www.cs.unc.edu/Research/vrpn/obtaining_vrpn.html>
3131-3232- platforms = stdenv.lib.platforms.linux;
2222+ longDescription = ''
2323+ The Virtual-Reality Peripheral Network (VRPN) is a set of classes
2424+ within a library and a set of servers that are designed to implement
2525+ a network-transparent interface between application programs and the
2626+ set of physical devices (tracker, etc.) used in a virtual-reality
2727+ (VR) system.
2828+ '';
2929+ homepage = http://www.vrpn.org/;
3030+ license = licenses.boost; # see https://github.com/vrpn/vrpn/wiki/License
3131+ platforms = platforms.linux;
3232+ maintainers = with maintainers; [ ludo ];
3333 };
3434}