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
@@ -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