2009-10-28 15:06:56 +01:00
|
|
|
{ stdenv, fetchurl, qt4 }:
|
2008-06-08 05:56:32 +02:00
|
|
|
|
2009-10-28 15:06:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libQGLViewer-2.3.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.libqglviewer.com/src/${name}.tar.gz";
|
|
|
|
sha256 = "01b9x2n3v5x3zkky2bjpgbhn5bglqn4gd7x5j5p7y2dw0jnzz7j0";
|
2008-06-08 05:56:32 +02:00
|
|
|
};
|
|
|
|
|
2009-10-28 15:06:56 +01:00
|
|
|
buildInputs = [ qt4 ];
|
2008-06-08 05:56:32 +02:00
|
|
|
|
2009-10-28 15:06:56 +01:00
|
|
|
buildPhase =
|
|
|
|
''
|
|
|
|
cd QGLViewer
|
|
|
|
qmake PREFIX=$out
|
|
|
|
make
|
|
|
|
'';
|
2008-06-08 05:56:32 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-10-28 15:06:56 +01:00
|
|
|
description = "trackball-based 3D viewer qt widget including many useful features";
|
|
|
|
homepage = http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/installUnix.html;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-06-08 05:56:32 +02:00
|
|
|
};
|
|
|
|
}
|