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

34 lines
922 B
Nix
Raw Normal View History

2018-06-24 18:26:58 +00:00
{ mkDerivation, lib, fetchFromGitHub
, cmake, freetype, libpng, libGLU_combined, openssl, perl, libiconv
2017-05-17 19:26:11 +00:00
, qtscript, qtserialport, qttools
, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
}:
2017-05-17 19:26:11 +00:00
mkDerivation rec {
pname = "stellarium";
version = "0.19.2";
2018-06-24 18:26:58 +00:00
src = fetchFromGitHub {
owner = "Stellarium";
repo = "stellarium";
rev = "v${version}";
sha256 = "1ki3s4smazr6xfkr0grrmjp2s8yjprismiaq7l54d0il7rkvhibd";
};
nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
buildInputs = [
freetype libpng libGLU_combined openssl libiconv qtscript qtserialport qttools
qtmultimedia qtlocation qtbase
];
2017-05-17 19:26:11 +00:00
meta = with lib; {
2012-10-19 08:19:41 +00:00
description = "Free open-source planetarium";
homepage = http://stellarium.org/;
2017-05-17 19:26:11 +00:00
license = licenses.gpl2;
2017-05-17 19:26:11 +00:00
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = with maintainers; [ peti ma27 ];
};
}