2009-10-28 07:06:56 -07:00
|
|
|
{ stdenv, fetchurl, qt4 }:
|
2008-06-07 20:56:32 -07:00
|
|
|
|
2009-10-28 07:06:56 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-26 01:20:06 -07:00
|
|
|
name = "libqglviewer-2.6.3";
|
|
|
|
version = "2.6.3";
|
2009-10-28 07:06:56 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-08-26 01:20:06 -07:00
|
|
|
url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
|
2015-08-26 01:16:53 -07:00
|
|
|
sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
|
2008-06-07 20:56:32 -07:00
|
|
|
};
|
|
|
|
|
2009-10-28 07:06:56 -07:00
|
|
|
buildInputs = [ qt4 ];
|
2008-06-07 20:56:32 -07:00
|
|
|
|
2009-10-28 07:06:56 -07:00
|
|
|
buildPhase =
|
|
|
|
''
|
|
|
|
cd QGLViewer
|
|
|
|
qmake PREFIX=$out
|
|
|
|
make
|
|
|
|
'';
|
2008-06-07 20:56:32 -07:00
|
|
|
|
2015-08-26 01:19:28 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
|
|
|
|
homepage = http://libqglviewer.com/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
2008-06-07 20:56:32 -07:00
|
|
|
};
|
|
|
|
}
|