1 { lib, buildPythonPackage, fetchFromGitHub, pkgs, qtbase, qmake, soqt }:
3 buildPythonPackage rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 hash = "sha256-y72nzZAelyRDR2JS73/0jo2x/XiDZpsERPZV3gzIhAI=";
14 dontUseCmakeConfigure = true;
16 nativeBuildInputs = with pkgs; [
20 buildInputs = with pkgs; with xorg; [
23 libXi libXext libSM libICE libX11
26 env.NIX_CFLAGS_COMPILE = toString [
27 "-I${qtbase.dev}/include/QtCore"
28 "-I${qtbase.dev}/include/QtGui"
29 "-I${qtbase.dev}/include/QtOpenGL"
30 "-I${qtbase.dev}/include/QtWidgets"
33 dontUseQmakeConfigure = true;
38 substituteInPlace distutils_cmake/CMakeLists.txt --replace \$'{SoQt_INCLUDE_DIRS}' \
39 \$'{Coin_INCLUDE_DIR}'\;\$'{SoQt_INCLUDE_DIRS}'
43 homepage = "https://github.com/coin3d/pivy/";
44 description = "A Python binding for Coin";
45 license = licenses.bsd0;
46 maintainers = with maintainers; [ gebner ];