8 sse4Support ? stdenv.hostPlatform.sse4_1Support,
9 avxSupport ? stdenv.hostPlatform.avxSupport,
22 format = "setuptools";
24 patches = [ ./build-cores.patch ];
32 substituteInPlace setup.py \
33 --replace "more-itertools<6.0.0" "more-itertools" \
34 --replace "pytest==3.8" "pytest"
38 "--set USE_SSE4_INSTRUCTIONS=${if sse4Support then "yes" else "no"}"
39 "--set USE_AVX_INSTRUCTIONS=${if avxSupport then "yes" else "no"}"
42 dontUseCmakeConfigure = true;