vrpn: 07.30 -> 2016-08-27

obadz 4ff7facc bc7e4e39

+23 -23
+23 -23
pkgs/development/libraries/vrpn/default.nix
··· 1 - { fetchurl, stdenv, unzip, cmake, mesa }: 1 + { stdenv, fetchFromGitHub, unzip, cmake, mesa }: 2 2 3 - stdenv.mkDerivation { 4 - name = "vrpn-07.30"; 3 + stdenv.mkDerivation rec { 4 + name = "${pname}-${date}"; 5 + pname = "vrpn"; 6 + date = "2016-08-27"; 5 7 6 - src = fetchurl { 7 - url = "ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_30.zip"; 8 - sha256 = "1rysp08myv88q3a30dr7js7vg3hvq8zj2bjrpcgpp86fm3gjpvb4"; 8 + src = fetchFromGitHub { 9 + owner = "vrpn"; 10 + repo = "vrpn"; 11 + rev = "9fa0ab3676a43527301c9efd3637f80220eb9462"; 12 + sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh"; 9 13 }; 10 14 11 15 buildInputs = [ unzip cmake mesa ]; 12 16 13 - doCheck = false; # FIXME: test failure 17 + doCheck = false; # FIXME: test failure 14 18 checkTarget = "test"; 15 19 16 - meta = { 20 + meta = with stdenv.lib; { 17 21 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; 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 ]; 33 33 }; 34 34 }