15 buildPythonPackage rec {
16 pname = "ifcopenshell";
20 src = fetchFromGitHub {
21 owner = "IfcOpenShell";
22 repo = "IfcOpenShell";
23 rev = "blenderbim-${version}";
24 fetchSubmodules = true;
25 sha256 = "1g52asxrqcfj01iqvf03k3bb6rg3v04hh1wc3nmn329a2lwjbxpw";
28 nativeBuildInputs = [ gcc10 cmake ];
43 "-DUSERSPACE_PYTHON_PREFIX=ON"
44 "-DOCC_INCLUDE_DIR=${opencascade-occt}/include/opencascade"
45 "-DOCC_LIBRARY_DIR=${opencascade-occt}/lib"
46 "-DOPENCOLLADA_INCLUDE_DIR=${opencollada}/include/opencollada"
47 "-DOPENCOLLADA_LIBRARY_DIR=${opencollada}/lib/opencollada"
48 "-DSWIG_EXECUTABLE=${swig}/bin/swig"
49 "-DLIBXML2_INCLUDE_DIR=${libxml2.dev}/include/libxml2"
50 "-DLIBXML2_LIBRARIES=${libxml2.out}/lib/libxml2${stdenv.hostPlatform.extensions.sharedLibrary}"
54 broken = stdenv.isDarwin;
55 description = "Open source IFC library and geometry engine";
56 homepage = "http://ifcopenshell.org/";
57 license = licenses.lgpl3;
58 maintainers = with maintainers; [ fehnomenal ];