3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libqglviewer/default.nix
Bjørn Forsman f3fb580f65 libqglviewer: 2.3.4 -> 2.6.3
It seems upstream no longer provides old downloads. So this unbreaks the
build.
2015-08-26 16:50:55 +02:00

26 lines
585 B
Nix

{ stdenv, fetchurl, qt4 }:
stdenv.mkDerivation rec {
name = "libQGLViewer-2.6.3";
src = fetchurl {
url = "http://www.libqglviewer.com/src/${name}.tar.gz";
sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
};
buildInputs = [ qt4 ];
buildPhase =
''
cd QGLViewer
qmake PREFIX=$out
make
'';
meta = {
description = "trackball-based 3D viewer qt widget including many useful features";
homepage = http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/installUnix.html;
license = stdenv.lib.licenses.gpl2;
};
}