Merge pull request #147635 from arkivm/fix-vowpalwabbit

This commit is contained in:
Artturi 2021-11-30 22:15:10 +02:00 committed by GitHub
commit 05ea0547e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,11 @@
, pygments
, numpy
, scipy
, scikit-learn }:
, scikit-learn
, spdlog
, fmt
, rapidjson
}:
buildPythonPackage rec {
pname = "vowpalwabbit";
@ -31,8 +35,15 @@ buildPythonPackage rec {
pygments
python.pkgs.boost
zlib.dev
spdlog
fmt
rapidjson
];
# As we disable configure via cmake, pass explicit global options to enable
# spdlog and fmt packages
setupPyGlobalFlags = [ "--cmake-options=\"-DSPDLOG_SYS_DEP=ON;-DFMT_SYS_DEP=ON\"" ];
propagatedBuildInputs = [
numpy
scikit-learn