xgboost: 2016-05-14 -> 0.60

This commit is contained in:
Nikolay Amiantov 2016-08-13 03:09:01 +03:00
parent 0464600859
commit 0e72026f3e

View File

@ -2,17 +2,15 @@
stdenv.mkDerivation rec {
name = "xgboost-${version}";
version = "2016-05-14";
version = "0.60";
# needs submodules
src = fetchgit {
url = "https://github.com/dmlc/xgboost";
rev = "9c26566eb09733423f821f139938ff4105c3775d";
sha256 = "1d7lnbwxwakclqqfjwyk9w3wd2clkihdr6ljs5z08ydiaspri093";
rev = "refs/tags/v${version}";
sha256 = "0536vfl59n9vlagl1cpdl06c9y19dscwhwdzvi27zk5nc5qb6rdq";
};
postPatch = "sed '1i#include <cmath>' -i src/tree/param.h";
enableParallelBuilding = true;
installPhase = ''