nixpkgs-suyu/pkgs/applications/science/astronomy/stellarium/default.nix

34 lines
917 B
Nix
Raw Normal View History

2018-06-24 20:26:58 +02:00
{ mkDerivation, lib, fetchFromGitHub
2019-11-10 17:44:34 +01:00
, cmake, freetype, libpng, libGLU, libGL, openssl, perl, libiconv
2017-05-17 21:26:11 +02:00
, qtscript, qtserialport, qttools
, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
}:
2017-05-17 21:26:11 +02:00
mkDerivation rec {
pname = "stellarium";
version = "0.19.3";
2018-06-24 20:26:58 +02:00
src = fetchFromGitHub {
owner = "Stellarium";
repo = "stellarium";
rev = "v${version}";
sha256 = "175aj4bgi9b6bif6fvjdlpd68brcwij4x3ml0lxk6i51binv233y";
};
nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
buildInputs = [
2019-11-10 17:44:34 +01:00
freetype libpng libGLU libGL openssl libiconv qtscript qtserialport qttools
qtmultimedia qtlocation qtbase
];
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;
2017-05-17 21:26:11 +02:00
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = with maintainers; [ peti ma27 ];
};
}