Added stellarium 0.11.0.
svn path=/nixpkgs/trunk/; revision=27697
This commit is contained in:
parent
03446e108d
commit
8223f67929
29
pkgs/applications/science/astronomy/stellarium/default.nix
Normal file
29
pkgs/applications/science/astronomy/stellarium/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
|
||||
|
||||
let
|
||||
name = "stellarium-0.11.0";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
||||
sha256 = "dbedf47dd0744fb325d67d63d1279101be7f4259af2a5e8027f1072012dd2587";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
|
||||
|
||||
cmakeFlags = "-DINTL_INCLUDE_DIR= -DINTL_LIBRARIES=";
|
||||
preConfigure = ''
|
||||
sed -i -e '/typedef void (\*__GLXextFuncPtr)(void);/d' src/core/external/GLee.h
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "an free open source planetarium";
|
||||
homepage = http://stellarium.org/;
|
||||
license = "GPL2";
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
@ -752,8 +752,6 @@ let
|
||||
inherit (gtkLibs) pango;
|
||||
};
|
||||
|
||||
gravit = callPackage ../applications/science/astronomy/gravit { };
|
||||
|
||||
groff = callPackage ../tools/text/groff {
|
||||
ghostscript = null;
|
||||
};
|
||||
@ -7643,6 +7641,9 @@ let
|
||||
inherit (gtkLibs) pango;
|
||||
};
|
||||
|
||||
gravit = callPackage ../applications/science/astronomy/gravit { };
|
||||
|
||||
stellarium = callPackage ../applications/science/astronomy/stellarium { };
|
||||
|
||||
### SCIENCE/GEOMETRY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user