2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub
|
|
|
|
, cmake, freetype, libpng, libGLU, libGL, openssl, perl, libiconv
|
|
|
|
, qtscript, qtserialport, qttools
|
|
|
|
, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "stellarium";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "0.20.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Stellarium";
|
|
|
|
repo = "stellarium";
|
|
|
|
rev = "v${version}";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "0bpxv781chx5acjh9ni5l9dlnvn6jgkqylq09885g6j4gi3q56br";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
freetype libpng libGLU libGL openssl libiconv qtscript qtserialport qttools
|
|
|
|
qtmultimedia qtlocation qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Free open-source planetarium";
|
|
|
|
homepage = "http://stellarium.org/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
|
|
|
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
|
|
|
maintainers = with maintainers; [ peti ma27 ];
|
|
|
|
};
|
|
|
|
}
|