2011-07-10 22:17:44 +02:00
|
|
|
{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
|
|
|
|
|
|
|
|
let
|
2012-04-02 17:19:05 +02:00
|
|
|
name = "stellarium-0.11.2";
|
2011-07-10 22:17:44 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
2012-04-02 17:19:05 +02:00
|
|
|
sha256 = "1qk26s0gal2pqr8zy95270fiszxsc6znzzrj5jap91zzibn17945";
|
2011-07-10 22:17:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i -e '/typedef void (\*__GLXextFuncPtr)(void);/d' src/core/external/GLee.h
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "an free open source planetarium";
|
|
|
|
homepage = http://stellarium.org/;
|
|
|
|
license = "GPL2";
|
2011-07-14 22:53:30 +02:00
|
|
|
|
2011-07-15 14:47:20 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
2011-07-10 22:17:44 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
}
|