2017-05-17 21:26:11 +02:00
|
|
|
{ mkDerivation, lib, fetchurl
|
|
|
|
, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
|
|
|
|
, qtscript, qtserialport, qttools
|
2016-12-18 22:48:54 +01:00
|
|
|
, qtmultimedia
|
2016-03-04 23:05:48 +01:00
|
|
|
}:
|
2011-07-10 22:17:44 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
mkDerivation rec {
|
2016-12-18 22:48:54 +01:00
|
|
|
name = "stellarium-${version}";
|
|
|
|
version = "0.15.0";
|
2011-07-10 22:17:44 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
2016-12-18 22:48:54 +01:00
|
|
|
sha256 = "0il751lgnfkx35h1m8fzwwnrygpxjx2a80gng1i1rbybkykf7l3l";
|
2011-07-10 22:17:44 +02:00
|
|
|
};
|
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ cmake perl ];
|
2016-07-22 22:21:17 +02:00
|
|
|
|
2016-03-04 23:05:48 +01:00
|
|
|
buildInputs = [
|
2017-05-17 21:26:11 +02:00
|
|
|
freetype libpng mesa openssl libiconv qtscript qtserialport qttools
|
|
|
|
qtmultimedia
|
2016-03-04 23:05:48 +01:00
|
|
|
];
|
2011-07-10 22:17:44 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
meta = with lib; {
|
2012-10-19 10:19:41 +02:00
|
|
|
description = "Free open-source planetarium";
|
|
|
|
homepage = "http://stellarium.org/";
|
2017-05-17 21:26:11 +02:00
|
|
|
license = licenses.gpl2;
|
2011-07-14 22:53:30 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
|
|
|
maintainers = [ maintainers.peti ];
|
2011-07-10 22:17:44 +02:00
|
|
|
};
|
|
|
|
}
|