2018-03-21 19:46:21 +00:00
|
|
|
{ stdenv, fetchurl, qt4, qmake4Hook, AGL }:
|
2008-06-08 04:56:32 +01:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-26 09:20:06 +01:00
|
|
|
name = "libqglviewer-2.6.3";
|
|
|
|
version = "2.6.3";
|
2009-10-28 14:06:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-08-26 09:20:06 +01:00
|
|
|
url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
|
2015-08-26 09:16:53 +01:00
|
|
|
sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
|
2008-06-08 04:56:32 +01:00
|
|
|
};
|
|
|
|
|
2018-03-21 19:46:21 +00:00
|
|
|
buildInputs = [ qt4 qmake4Hook ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin AGL;
|
2008-06-08 04:56:32 +01:00
|
|
|
|
2016-04-17 00:45:56 +01:00
|
|
|
postPatch =
|
2009-10-28 14:06:56 +00:00
|
|
|
''
|
|
|
|
cd QGLViewer
|
|
|
|
'';
|
2008-06-08 04:56:32 +01:00
|
|
|
|
2015-08-26 09:19:28 +01: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-08 04:56:32 +01:00
|
|
|
};
|
|
|
|
}
|