12 buildPythonPackage rec {
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-wWM8eKTehWCIbRxxWkZ4YrYyeIJuzQaBOUMrW9a5MVo=";
24 build-system = [ setuptools ];
26 dontUseCmakeConfigure = true;
28 nativeBuildInputs = with pkgs; [
50 env.NIX_CFLAGS_COMPILE = toString [
51 "-I${qtbase.dev}/include/QtCore"
52 "-I${qtbase.dev}/include/QtGui"
53 "-I${qtbase.dev}/include/QtOpenGL"
54 "-I${qtbase.dev}/include/QtWidgets"
57 dontUseQmakeConfigure = true;
58 dontWrapQtApps = true;
62 substituteInPlace distutils_cmake/CMakeLists.txt --replace \$'{SoQt_INCLUDE_DIRS}' \
63 \$'{Coin_INCLUDE_DIR}'\;\$'{SoQt_INCLUDE_DIRS}'
66 pythonImportsCheck = [ "pivy" ];
69 homepage = "https://github.com/coin3d/pivy/";
70 description = "Python binding for Coin";
71 license = licenses.bsd0;
72 maintainers = with maintainers; [ gebner ];