mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
xgboost: 2016-05-14 -> 0.60
This commit is contained in:
parent
0464600859
commit
0e72026f3e
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user