2016-03-05 01:05:48 +03:00
|
|
|
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
|
2016-07-22 23:21:17 +03:00
|
|
|
, qtscript, qtserialport, qttools, makeQtWrapper
|
2016-03-05 01:05:48 +03:00
|
|
|
}:
|
2011-07-11 00:17:44 +04:00
|
|
|
|
2013-12-09 15:41:49 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2016-07-22 23:43:52 +03:00
|
|
|
name = "stellarium-0.14.3";
|
2011-07-11 00:17:44 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
2016-07-22 23:43:52 +03:00
|
|
|
sha256 = "1919wzlvhfxdxficbwhp31xlhm0571grgcmsfdp5y36z9yqwahfy";
|
2011-07-11 00:17:44 +04:00
|
|
|
};
|
|
|
|
|
2016-07-22 23:21:17 +03:00
|
|
|
nativeBuildInputs = [ makeQtWrapper ];
|
|
|
|
|
2016-03-05 01:05:48 +03:00
|
|
|
buildInputs = [
|
|
|
|
cmake freetype libpng mesa gettext openssl perl libiconv qtscript
|
|
|
|
qtserialport qttools
|
|
|
|
];
|
2011-07-11 00:17:44 +04:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-07-22 23:21:17 +03:00
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/stellarium"
|
|
|
|
'';
|
|
|
|
|
2011-07-11 00:17:44 +04:00
|
|
|
meta = {
|
2012-10-19 12:19:41 +04:00
|
|
|
description = "Free open-source planetarium";
|
|
|
|
homepage = "http://stellarium.org/";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2011-07-15 00:53:30 +04:00
|
|
|
|
2011-07-15 16:47:20 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
2016-05-16 23:30:20 +03:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2011-07-11 00:17:44 +04:00
|
|
|
};
|
|
|
|
}
|