forked from mirrors/nixpkgs
parent
0ca9ad08b4
commit
6995d01939
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchgit, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
{ stdenv, fetchgit, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
||||||
, qtbase
|
, qtbase, qmakeHook, mesa_glu
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -12,14 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "15c18jvgbwyrfhv7r35ih0gzx35vjlsbi984h1sckgh2z17hjq8l";
|
sha256 = "15c18jvgbwyrfhv7r35ih0gzx35vjlsbi984h1sckgh2z17hjq8l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline ];
|
buildInputs = [ qtbase qmakeHook cgal boost gmp mpfr flex bison dxflib readline mesa_glu ];
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
sed -e "s@/usr/@$out/@g" -i $(find . -name Makefile)
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
|
Loading…
Reference in a new issue