···43 pytestCheckHook
44 ];
45000004647 # CMake needs to be run by setuptools rather than by its hook
48 dontConfigure = true;
···43 pytestCheckHook
44 ];
4546+ # A fix for cxxopts >=3.1
47+ postPatch = ''
48+ substituteInPlace src/cli.cpp \
49+ --replace "cxxopts::OptionException" "cxxopts::exceptions::exception"
50+ '';
5152 # CMake needs to be run by setuptools rather than by its hook
53 dontConfigure = true;