xgboost: 2.0.1 -> 2.0.3

Updating xgboost to 2.0.3
Added xgboost as meta.mainProgram

Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
This commit is contained in:
nviets 2024-02-25 21:10:11 -06:00 committed by Nathan Viets
parent 7383c2e7eb
commit 528c73015f

View file

@ -45,14 +45,14 @@ stdenv.mkDerivation rec {
# in \
# rWrapper.override{ packages = [ xgb ]; }"
pname = lib.optionalString rLibrary "r-" + pnameBase;
version = "2.0.1";
version = "2.0.3";
src = fetchFromGitHub {
owner = "dmlc";
repo = pnameBase;
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-tRx6kJwIoVSN701ppuyZpIFUQIFy4LBMFyirLtwApjA=";
hash = "sha256-LWco3A6zwdnAf8blU4qjW7PFEeZaTcJlVTwVrs7nwWM=";
};
nativeBuildInputs = [ cmake ]
@ -143,6 +143,7 @@ stdenv.mkDerivation rec {
"Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library";
homepage = "https://github.com/dmlc/xgboost";
license = licenses.asl20;
mainProgram = "xgboost";
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar nviets ];
};