3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17186 from rycee/fix-and-bump/stellarium

Fix and version bump Stellarium
This commit is contained in:
Peter Simons 2016-07-22 23:57:55 +02:00 committed by GitHub
commit 8593eb92e8

View file

@ -1,15 +1,17 @@
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
, qtscript, qtserialport, qttools
, qtscript, qtserialport, qttools, makeQtWrapper
}:
stdenv.mkDerivation rec {
name = "stellarium-0.14.2";
name = "stellarium-0.14.3";
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
sha256 = "1xxil0rv61zc08znfv83cpsc47y1gjl2f3njhz0pn5zd8jpaa15a";
sha256 = "1919wzlvhfxdxficbwhp31xlhm0571grgcmsfdp5y36z9yqwahfy";
};
nativeBuildInputs = [ makeQtWrapper ];
buildInputs = [
cmake freetype libpng mesa gettext openssl perl libiconv qtscript
qtserialport qttools
@ -17,6 +19,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
wrapQtProgram "$out/bin/stellarium"
'';
meta = {
description = "Free open-source planetarium";
homepage = "http://stellarium.org/";