2018-06-24 11:26:58 -07:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub
|
2019-11-10 08:44:34 -08:00
|
|
|
, cmake, freetype, libpng, libGLU, libGL, openssl, perl, libiconv
|
2017-05-17 12:26:11 -07:00
|
|
|
, qtscript, qtserialport, qttools
|
2019-07-05 08:42:08 -07:00
|
|
|
, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
|
2016-03-04 14:05:48 -08:00
|
|
|
}:
|
2011-07-10 13:17:44 -07:00
|
|
|
|
2017-05-17 12:26:11 -07:00
|
|
|
mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "stellarium";
|
2019-12-22 04:57:13 -08:00
|
|
|
version = "0.19.3";
|
2011-07-10 13:17:44 -07:00
|
|
|
|
2018-06-24 11:26:58 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Stellarium";
|
|
|
|
repo = "stellarium";
|
|
|
|
rev = "v${version}";
|
2019-12-22 04:57:13 -08:00
|
|
|
sha256 = "175aj4bgi9b6bif6fvjdlpd68brcwij4x3ml0lxk6i51binv233y";
|
2011-07-10 13:17:44 -07:00
|
|
|
};
|
|
|
|
|
2019-07-05 08:42:08 -07:00
|
|
|
nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
|
2016-07-22 13:21:17 -07:00
|
|
|
|
2016-03-04 14:05:48 -08:00
|
|
|
buildInputs = [
|
2019-11-10 08:44:34 -08:00
|
|
|
freetype libpng libGLU libGL openssl libiconv qtscript qtserialport qttools
|
2019-07-05 08:42:08 -07:00
|
|
|
qtmultimedia qtlocation qtbase
|
2016-03-04 14:05:48 -08:00
|
|
|
];
|
2011-07-10 13:17:44 -07:00
|
|
|
|
2017-05-17 12:26:11 -07:00
|
|
|
meta = with lib; {
|
2012-10-19 01:19:41 -07:00
|
|
|
description = "Free open-source planetarium";
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://stellarium.org/;
|
2017-05-17 12:26:11 -07:00
|
|
|
license = licenses.gpl2;
|
2011-07-14 13:53:30 -07:00
|
|
|
|
2017-05-17 12:26:11 -07:00
|
|
|
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
2017-11-19 03:01:15 -08:00
|
|
|
maintainers = with maintainers; [ peti ma27 ];
|
2011-07-10 13:17:44 -07:00
|
|
|
};
|
|
|
|
}
|