freecad: use wrapQtAppsHook

This commit is contained in:
josephtheengineer
2020-06-05 14:16:52 +10:00
parent 42f7db63ff
commit 4eaa5a0863
+14 -6
View File
@@ -1,7 +1,7 @@
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, ninja, coin3d, xercesc, ode { stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, ninja, coin3d,
, eigen, qtbase, qttools, qtwebkit, opencascade-occt, gts, hdf5, vtk, medfile xercesc, ode, eigen, qtbase, qttools, qtwebkit, wrapQtAppsHook,
, zlib, python3Packages, swig, gfortran, libXmu, soqt, libf2c, libGLU opencascade-occt, gts, hdf5, vtk, medfile, zlib, python3Packages, swig,
, makeWrapper, pkgconfig, mpi ? null }: gfortran, libXmu, soqt, libf2c, libGLU, makeWrapper, pkgconfig, mpi ? null }:
assert mpi != null; assert mpi != null;
@@ -18,8 +18,16 @@ in mkDerivation rec {
sha256 = "1phs9a0px5fnzpyx930cz39p5dis0f0yajxzii3c3sazgkzrd55s"; sha256 = "1phs9a0px5fnzpyx930cz39p5dis0f0yajxzii3c3sazgkzrd55s";
}; };
nativeBuildInputs = [ cmake ninja pkgconfig pythonPackages.pyside2-tools ]; nativeBuildInputs = [
buildInputs = [ cmake coin3d xercesc ode eigen opencascade-occt gts cmake
ninja
pkgconfig
pythonPackages.pyside2-tools
wrapQtAppsHook
];
buildInputs = [
cmake coin3d xercesc ode eigen opencascade-occt gts
zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile
libGLU libXmu qtbase qttools qtwebkit libGLU libXmu qtbase qttools qtwebkit
] ++ (with pythonPackages; [ ] ++ (with pythonPackages; [