Merge pull request #17186 from rycee/fix-and-bump/stellarium
Fix and version bump Stellarium
This commit is contained in:
commit
8593eb92e8
@ -1,15 +1,17 @@
|
|||||||
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
|
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
|
||||||
, qtscript, qtserialport, qttools
|
, qtscript, qtserialport, qttools, makeQtWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "stellarium-0.14.2";
|
name = "stellarium-0.14.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
||||||
sha256 = "1xxil0rv61zc08znfv83cpsc47y1gjl2f3njhz0pn5zd8jpaa15a";
|
sha256 = "1919wzlvhfxdxficbwhp31xlhm0571grgcmsfdp5y36z9yqwahfy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake freetype libpng mesa gettext openssl perl libiconv qtscript
|
cmake freetype libpng mesa gettext openssl perl libiconv qtscript
|
||||||
qtserialport qttools
|
qtserialport qttools
|
||||||
@ -17,6 +19,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapQtProgram "$out/bin/stellarium"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Free open-source planetarium";
|
description = "Free open-source planetarium";
|
||||||
homepage = "http://stellarium.org/";
|
homepage = "http://stellarium.org/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user