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