vowpal-wabbit: init at 8.9.2

This commit is contained in:
Jack Gerrits 2021-03-17 13:20:48 -04:00 committed by Cole Helbling
parent f382f89af5
commit a364fb6557
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib, stdenv, fetchFromGitHub, cmake, boost169, rapidjson, zlib }:
stdenv.mkDerivation rec {
pname = "vowpal-wabbit";
version = "8.9.2";
src = fetchFromGitHub {
owner = "VowpalWabbit";
repo = "vowpal_wabbit";
rev = version;
sha256 = "0ng1kip7sh3br85691xvszxd6lhv8nhfkgqkpwxd89wy85znzhmd";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
boost169
rapidjson
zlib
];
# -DBUILD_TESTS=OFF is set as both it saves time in the build and the default
# cmake flags appended by the builder include -DBUILD_TESTING=OFF for which
# this is the equivalent flag.
cmakeFlags = [
"-DVW_INSTALL=ON"
"-DBUILD_TESTS=OFF"
"-DBUILD_JAVA=OFF"
"-DBUILD_PYTHON=OFF"
"-DUSE_LATEST_STD=ON"
"-DRAPIDJSON_SYS_DEP=ON"
];
meta = with lib; {
broken = stdenv.isAarch32 || stdenv.isAarch64;
description = "Machine learning system focused on online reinforcement learning";
homepage = "https://github.com/VowpalWabbit/vowpal_wabbit/";
license = licenses.bsd3;
longDescription = ''
Machine learning system which pushes the frontier of machine learning with techniques such as online,
hashing, allreduce, reductions, learning2search, active, and interactive and reinforcement learning
'';
maintainers = with maintainers; [ jackgerrits ];
platforms = platforms.unix;
};
}

View File

@ -3987,6 +3987,8 @@ in
vorta = libsForQt5.callPackage ../applications/backup/vorta { };
vowpal-wabbit = callPackage ../applications/science/machine-learning/vowpal-wabbit { };
utahfs = callPackage ../applications/networking/utahfs { };
wakeonlan = callPackage ../tools/networking/wakeonlan { };