diff --git a/pkgs/development/libraries/vrpn/default.nix b/pkgs/development/libraries/vrpn/default.nix index ce0fd327304..5250b781590 100644 --- a/pkgs/development/libraries/vrpn/default.nix +++ b/pkgs/development/libraries/vrpn/default.nix @@ -1,34 +1,34 @@ -{ fetchurl, stdenv, unzip, cmake, mesa }: +{ stdenv, fetchFromGitHub, unzip, cmake, mesa }: -stdenv.mkDerivation { - name = "vrpn-07.30"; +stdenv.mkDerivation rec { + name = "${pname}-${date}"; + pname = "vrpn"; + date = "2016-08-27"; - src = fetchurl { - url = "ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_30.zip"; - sha256 = "1rysp08myv88q3a30dr7js7vg3hvq8zj2bjrpcgpp86fm3gjpvb4"; + src = fetchFromGitHub { + owner = "vrpn"; + repo = "vrpn"; + rev = "9fa0ab3676a43527301c9efd3637f80220eb9462"; + sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh"; }; buildInputs = [ unzip cmake mesa ]; - doCheck = false; # FIXME: test failure + doCheck = false; # FIXME: test failure checkTarget = "test"; - meta = { + 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 = http://www.cs.unc.edu/Research/vrpn/; - - license = stdenv.lib.licenses.boost; - # see # - - platforms = stdenv.lib.platforms.linux; + 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 = http://www.vrpn.org/; + license = licenses.boost; # see https://github.com/vrpn/vrpn/wiki/License + platforms = platforms.linux; + maintainers = with maintainers; [ ludo ]; }; }